mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: remove ambiguous construction from tmp
This commit is contained in:
@ -159,7 +159,7 @@ void Foam::sampledSurfaces::sampleAndWrite
|
||||
forAll(*this, surfI)
|
||||
{
|
||||
const sampledSurface& s = operator[](surfI);
|
||||
Field<Type> values = s.sample(sField);
|
||||
Field<Type> values(s.sample(sField));
|
||||
writeSurface<Type>(values, surfI, fieldName, outputDir);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user