Commit 70a27ec6 authored by Mark Olesen's avatar Mark Olesen
Browse files

BUG: incorrect return type for (GeometricFields) unary reduction

parent 8babc148
......@@ -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(), \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment