mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Debugging references were to l-values, so added const to stop errors
This commit is contained in:
parent
12afb0395f
commit
fa747173d1
@ -158,12 +158,12 @@ void TNucleon<FImpl1, FImpl2, FImpl3>::execute(void)
|
|||||||
// DEBUG Just defining a few types so I can see what these things are
|
// DEBUG Just defining a few types so I can see what these things are
|
||||||
//auto Daa_debug1 = transposeSpin( q1 );
|
//auto Daa_debug1 = transposeSpin( q1 );
|
||||||
// Current compilation settings tell me that FImpl is WilsonImplR (see FermionOperatorImpl.h, line 163)
|
// Current compilation settings tell me that FImpl is WilsonImplR (see FermionOperatorImpl.h, line 163)
|
||||||
WilsonImplR::PropagatorField &Debug_q_1{ q1 };
|
const WilsonImplR::PropagatorField &Debug_q_1{ q1 };
|
||||||
//DEBUG_SHOW_TYPE( q1 );
|
//DEBUG_SHOW_TYPE( q1 );
|
||||||
// The propagator field is an alias for
|
// The propagator field is an alias for
|
||||||
Lattice<iScalar<iMatrix<iMatrix<vComplexD, Nc>, Ns> >> &Debug_q_2{ q1 };
|
const Lattice<iScalar<iMatrix<iMatrix<vComplexD, Nc>, Ns> >> &Debug_q_2{ q1 };
|
||||||
// So then Daa is one of these
|
// So then Daa is one of these
|
||||||
Lattice<iScalar<iMatrix<iScalar<vComplexD>, Ns> >> &Debug_Daa_1{ Daa };
|
const Lattice<iScalar<iMatrix<iScalar<vComplexD>, Ns> >> &Debug_Daa_1{ Daa };
|
||||||
// Which means I should be able to do this
|
// Which means I should be able to do this
|
||||||
//Lattice<iScalar<iMatrix<iScalar<vComplexD>, Ns> >> Debug_Daa_2 = transposeSpin(Daa);
|
//Lattice<iScalar<iMatrix<iScalar<vComplexD>, Ns> >> Debug_Daa_2 = transposeSpin(Daa);
|
||||||
// END DEBUG
|
// END DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user