COMP: avoid ambiguous construct from tmp - engine
This commit is contained in:
@ -130,7 +130,7 @@ void Foam::errorDrivenRefinement::setRefinement(polyTopoChange& ref) const
|
||||
const volVectorField& resError =
|
||||
runTime.lookupObject<volVectorField>(errorField_);
|
||||
|
||||
const volScalarField magResError = Foam::mag(resError);
|
||||
const volScalarField magResError(Foam::mag(resError));
|
||||
|
||||
scalar min = Foam::min(magResError).value();
|
||||
scalar max = Foam::max(magResError).value();
|
||||
|
||||
Reference in New Issue
Block a user