mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: correct sumProd return type (#1086)
- previously returned scalar, but now return pTraits cmptType which is the same as scalarProduct / outerProduct type.
This commit is contained in:
@ -97,6 +97,7 @@ int main(int argc, char *argv[])
|
||||
c.Im() *= 5;
|
||||
}
|
||||
|
||||
Info<< "sumProd: " << sumProd(fld1, fld2) << nl;
|
||||
|
||||
fld1 *= 10;
|
||||
Info<< "scalar multiply: " << flatOutput(fld1) << nl;
|
||||
|
||||
Reference in New Issue
Block a user