Skip to content

Commit 8b482a9

Browse files
committed
Fix missing !
We're trying to make up for non-preparation cases here, not redundantly prepare.
1 parent ec816ea commit 8b482a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mesh/simplex_refiner.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SimplexRefiner::SimplexRefiner (UnstructuredMesh & mesh) :
5151

5252
bool SimplexRefiner::refine_elements()
5353
{
54-
if (_mesh.is_prepared())
54+
if (!_mesh.is_prepared())
5555
_mesh.prepare_for_use();
5656

5757
// We should add more options later: to refine via circumcenter

0 commit comments

Comments
 (0)