mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
WilsonMG: Remove unnecessary static assertions
This commit is contained in:
parent
cc5d025ea4
commit
2881b3e8e5
@ -80,8 +80,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
WilsonFermionR Dw(Umu, *FGrid, *FrbGrid, mass);
|
||||
|
||||
static_assert(std::is_same<LatticeFermion, typename WilsonFermionR::FermionField>::value, "");
|
||||
|
||||
MdagMLinearOperator<WilsonFermionR, LatticeFermion> MdagMOpDw(Dw);
|
||||
|
||||
std::cout << GridLogMessage << "**************************************************" << std::endl;
|
||||
|
@ -88,9 +88,6 @@ int main(int argc, char **argv) {
|
||||
WilsonFermionD Dw_d(Umu_d, *FGrid_d, *FrbGrid_d, mass);
|
||||
WilsonFermionF Dw_f(Umu_f, *FGrid_f, *FrbGrid_f, mass);
|
||||
|
||||
static_assert(std::is_same<LatticeFermionD, typename WilsonFermionD::FermionField>::value, "");
|
||||
static_assert(std::is_same<LatticeFermionF, typename WilsonFermionF::FermionField>::value, "");
|
||||
|
||||
MdagMLinearOperator<WilsonFermionD, LatticeFermionD> MdagMOpDw_d(Dw_d);
|
||||
MdagMLinearOperator<WilsonFermionF, LatticeFermionF> MdagMOpDw_f(Dw_f);
|
||||
|
||||
|
@ -82,8 +82,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
WilsonCloverFermionR Dwc(Umu, *FGrid, *FrbGrid, mass, csw_r, csw_t);
|
||||
|
||||
static_assert(std::is_same<LatticeFermion, typename WilsonCloverFermionR::FermionField>::value, "");
|
||||
|
||||
MdagMLinearOperator<WilsonCloverFermionR, LatticeFermion> MdagMOpDwc(Dwc);
|
||||
|
||||
std::cout << GridLogMessage << "**************************************************" << std::endl;
|
||||
|
@ -90,9 +90,6 @@ int main(int argc, char **argv) {
|
||||
WilsonCloverFermionD Dwc_d(Umu_d, *FGrid_d, *FrbGrid_d, mass, csw_r, csw_t);
|
||||
WilsonCloverFermionF Dwc_f(Umu_f, *FGrid_f, *FrbGrid_f, mass, csw_r, csw_t);
|
||||
|
||||
static_assert(std::is_same<LatticeFermionD, typename WilsonCloverFermionD::FermionField>::value, "");
|
||||
static_assert(std::is_same<LatticeFermionF, typename WilsonCloverFermionF::FermionField>::value, "");
|
||||
|
||||
MdagMLinearOperator<WilsonCloverFermionD, LatticeFermionD> MdagMOpDwc_d(Dwc_d);
|
||||
MdagMLinearOperator<WilsonCloverFermionF, LatticeFermionF> MdagMOpDwc_f(Dwc_f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user