ENH: add field operations for complex (#1365)

This commit is contained in:
Mark Olesen
2019-07-28 21:19:43 +02:00
committed by Andrew Heather
parent 53392d5a05
commit 78ce269a52
3 changed files with 19 additions and 0 deletions

View File

@ -108,6 +108,7 @@ int main(int argc, char *argv[])
Info<< "sin: " << sin(fld1) << nl;
Info<< "operator + : " << (fld1 + fld2) << nl;
Info<< "operator + : " << (fld1 + fld2 + complex(1,0)) << nl;
// Some operators are still incomplete