mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect return type for (GeometricFields) unary reduction
This commit is contained in:
@ -514,7 +514,7 @@ dimensioned<returnType> func \
|
||||
const GeometricField<Type, PatchField, GeoMesh>& gf \
|
||||
) \
|
||||
{ \
|
||||
return dimensioned<Type> \
|
||||
return dimensioned<returnType> \
|
||||
( \
|
||||
#func "(" + gf.name() + ')', \
|
||||
gf.dimensions(), \
|
||||
@ -555,7 +555,7 @@ dimensioned<returnType> func \
|
||||
const GeometricField<Type, PatchField, GeoMesh>& gf \
|
||||
) \
|
||||
{ \
|
||||
return dimensioned<Type> \
|
||||
return dimensioned<returnType> \
|
||||
( \
|
||||
#func "(" + gf.name() + ')', \
|
||||
gf.dimensions(), \
|
||||
|
||||
Reference in New Issue
Block a user