Skip to content
Snippets Groups Projects
Commit 6d12b2d4 authored by laurence's avatar laurence
Browse files

BUG: Returned reference to a tmp

parent 20c0e0a8
Branches
Tags
No related merge requests found
......@@ -463,7 +463,8 @@ void Foam::searchableSurfaceControl::cellSizeFunctionVertices
DynamicList<scalar>& sizes
) const
{
const pointField& points = searchableSurface_.points();
const tmp<pointField> tmpPoints = searchableSurface_.points();
const pointField& points = tmpPoints();
const scalar nearFeatDistSqrCoeff = 1e-8;
......
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