ENH: additional construct/assignment methods for complex (#1247)

- construct/assign from Zero
This commit is contained in:
Mark Olesen
2019-03-25 15:17:58 +01:00
committed by Andrew Heather
parent a33f1787b7
commit a1999bc92c
8 changed files with 305 additions and 131 deletions

View File

@ -51,7 +51,6 @@ complexVector UOprocess::WeinerProcess()
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// from components
UOprocess::UOprocess
(
const Kmesh& kmesh,
@ -85,12 +84,7 @@ UOprocess::UOprocess
}
else
{
UOfield[i] = complexVector
(
complex(0, 0),
complex(0, 0),
complex(0, 0)
);
UOfield[i] = complexVector::zero;
}
}
}