diff --git a/MMVII/src/Matrix/cLinearConstraint.cpp b/MMVII/src/Matrix/cLinearConstraint.cpp index e8b19a5ed0..c7a4645acd 100755 --- a/MMVII/src/Matrix/cLinearConstraint.cpp +++ b/MMVII/src/Matrix/cLinearConstraint.cpp @@ -361,11 +361,11 @@ template void cOneLinearConstraint::SubstituteInOutRSNL(tIO_ bool FirstDerNN = true; // Used to check that we do only once the extension of indexe for (size_t aKEq=0 ; aKEq void cOneLinearConstraint::SubstituteInOutRSNL(tIO_ // [D] finish purge aBuf.mSet.mVIndOcc.clear(); } - aDerI = 0; // now supress the derivate of substituted variable + aIO.mDers.at(aKEq).at(aKSubst) = 0; // now supress the derivate of substituted variable FirstDerNN= false; // No longer first Non Null derivate } }