BUG: incorrect function introducer for mixedExpr with point field

- was primed with toPoint(..) expression call instead of point(...)
This commit is contained in:
Mark Olesen
2023-04-13 17:01:46 +02:00
parent 3d2df7cdf6
commit 6b16a614ca

View File

@ -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_ + ")";
}
}
}