Commit 3afcc234 authored by laurence's avatar laurence
Browse files

BUG: Store default cell size instead of a reference

parent 173cab2d
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment