Changing boundary phase to be always double

This commit is contained in:
Chulwoo Jung committed 2018-07-10 12:18:12 -07:00
1 parent 118746b1e9
commit 751fae9f0d
5 files changed
+23 -14

No files matched your search

+2 -2
View File
@@ -44,11 +44,11 @@ namespace QCD {
struct WilsonImplParams {
bool overlapCommsCompute;
std::vector<Complex> boundary_phases;
std::vector<ComplexD> boundary_phases;
WilsonImplParams() : overlapCommsCompute(false) {
boundary_phases.resize(Nd, 1.0);
};
WilsonImplParams(const std::vector<Complex> phi)
WilsonImplParams(const std::vector<ComplexD> phi)
: boundary_phases(phi), overlapCommsCompute(false) {}
};