BUG: incorrect return type for (GeometricFields) unary reduction

This commit is contained in:
Mark Olesen
2019-01-11 00:14:50 +01:00
parent 34386291cb
commit 57cfe2b5ef

View File

@ -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(), \