Skip to content
Snippets Groups Projects
Commit 4adcfde1 authored by Tobias Malkmus's avatar Tobias Malkmus
Browse files

[bugfix] avoid gcc parser bug

This very old gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200 is fixed in clang but not in icc or gcc, see FS#1505.
parent 2c70eb43
No related branches found
No related tags found
No related merge requests found
......@@ -419,7 +419,7 @@ namespace Dune
void add(int proc, int local)
{
IndexedTypeInformation& info=information_[proc];
assert(info.elements<info.size);
assert((info.elements)<info.size);
MPI_Address( const_cast<void*>(CommPolicy<V>::getAddress(data_, local)),
info.displ+info.elements);
info.length[info.elements]=CommPolicy<V>::getSize(data_, local);
......
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