Skip to content
Snippets Groups Projects
Commit fc6dd0f1 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[parallel] force the gathered information to be of type int

This fixes a compilation error encountered with YaspGrid and the Dune
master. Since the return type of mappers has been generalized, an
implicit conversion to int does not happen anymore.

Reviewed by gruenich.


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13479 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 7cc5171f
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ public: ...@@ -81,7 +81,7 @@ public:
void gather(MessageBufferImp &buff, const EntityType &e) const void gather(MessageBufferImp &buff, const EntityType &e) const
{ {
buff.write(gridView_.comm().rank()); buff.write(gridView_.comm().rank());
buff.write(map_.map(e)); buff.write(static_cast<int>(map_.map(e)));
} }
template<class MessageBufferImp, class EntityType> template<class MessageBufferImp, class EntityType>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment