Changed: Use && instead of bit-wise &, to avoid warnings with newer compilers.
The result is that the mesh will not be saved if the refinement fails, which probably makes more sense anyway.
This commit is contained in:
parent
d89c31558f
commit
90f7129729
@ -215,7 +215,7 @@ bool AdaptiveSIM::adaptMesh (int iStep, std::streamsize outPrec)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Now refine the mesh and write out resulting grid
|
// Now refine the mesh and write out resulting grid
|
||||||
return model.refine(prm) & this->writeMesh(iStep);
|
return model.refine(prm) && this->writeMesh(iStep);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user