]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Workaround for IBM compiler in data_out_base.cc 171/head
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Wed, 24 Sep 2014 11:28:22 +0000 (13:28 +0200)
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Wed, 24 Sep 2014 11:28:22 +0000 (13:28 +0200)
This is a workaround for the IBM XL compiler as suggested by Kevin
Drzycimski on the mailing list.

source/base/data_out_base.cc

index 9e218d598d76147471451312215602136934e5f0..8d5de27b44cc4a03f5701dbfb54c5270b005fea1 100644 (file)
@@ -7953,7 +7953,7 @@ merge (const DataOutReader<dim,spacedim> &source)
   // adjust patch neighbors
   for (unsigned int i=old_n_patches; i<patches.size(); ++i)
     for (unsigned int n=0; n<GeometryInfo<dim>::faces_per_cell; ++n)
-      if (patches[i].neighbors[n] != Patch::no_neighbor)
+      if (patches[i].neighbors[n] != dealii::DataOutBase::Patch<dim,spacedim>::no_neighbor)
         patches[i].neighbors[n] += old_n_patches;
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.