1
0
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:
Daniel Richtmann 2018-06-26 14:40:59 +02:00
parent cc5d025ea4
commit 2881b3e8e5
No known key found for this signature in database
GPG Key ID: B33C490AF0772057
4 changed files with 0 additions and 10 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;

View File

@ -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);