diff --git a/src/Distribution/RealDiracMatrix.cpp b/src/Distribution/RealDiracMatrix.cpp index fdf132de46ce8050647b8bd494262d070213cb65..3ccfac98a7ea4fbaa94b0ac91c70fd45e6741d8b 100644 --- a/src/Distribution/RealDiracMatrix.cpp +++ b/src/Distribution/RealDiracMatrix.cpp @@ -259,7 +259,7 @@ void RealDiracMatrix::transform(short i, double phi, if (phi) { // if phi == 0 --> nothing happens, since R and invR would be identity_matrix matrix sparse_matrix_t I = boost::numeric::ublas::identity_matrix<double>(4); - if (i < 7 && i != 0 && i < 11 && i != 14) { + if (i < 7 && i != 0 && i > 10 && i != 14) { R = I * std::cosh(phi) + getRDM(i) * std::sinh(phi); invR = I * std::cosh(phi) - getRDM(i) * std::sinh(phi); } else {