Skip to content
Snippets Groups Projects
Commit 3afcc234 authored by laurence's avatar laurence
Browse files

BUG: Store default cell size instead of a reference

parent 173cab2d
Branches
Tags
No related merge requests found
......@@ -480,7 +480,10 @@ void Foam::CV2D::newPoints()
alignments[vit->index()] = toPoint2D(norm[0]);
sizes[vit->index()] =
cellSizeControl_.cellSize(toPoint3D(vit->point()));
cellSizeControl_.cellSize
(
toPoint3D(vit->point())
);
}
}
}
......
......@@ -56,7 +56,7 @@ class cellSizeAndAlignmentControls
PtrList<cellSizeAndAlignmentControl> controlFunctions_;
const scalar& defaultCellSize_;
const scalar defaultCellSize_;
// Private Member Functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment