Skip to content
Snippets Groups Projects
Commit 6b16a614 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: incorrect function introducer for mixedExpr with point field

- was primed with toPoint(..) expression call instead of point(...)
parent 3d2df7cd
Branches
Tags
No related merge requests found
......@@ -82,7 +82,7 @@ void Foam::expressions::patchExprFieldBase::readExpressions
// but not for 0/1 (handled as shortcuts later)
if (wantPointData && fracExpr_ != "0" && fracExpr_ != "1")
{
fracExpr_ = "toPoint(" + fracExpr_ + ")";
fracExpr_ = "point(" + fracExpr_ + ")";
}
}
}
......
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