]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMillepede.cxx
Build TGeo geometry also when running with Geant4
[u/mrichter/AliRoot.git] / MUON / AliMillepede.cxx
index 387105441115f8f9fa9f92bdbf513d31ace69ad3..ebc85b9aeefa6cc0306862c01f23a10b9e20b566 100644 (file)
@@ -1132,7 +1132,7 @@ int AliMillepede::SpmInv(double matV[][fgkMaxGloPC], double vecB[], int nGlo)
     iPivot = -1;
     
     for (Int_t j=0; j<nGlo; j++) { // First look for the pivot, ie max unused diagonal element       
-      if (bUnUsed[j] && (TMath::Abs(matV[j][j])>std::max(TMath::Abs(vPivot),eps*diagV[j]))) {    
+      if (bUnUsed[j] && (TMath::Abs(matV[j][j])>TMath::Max(TMath::Abs(vPivot),eps*diagV[j]))) {    
        vPivot = matV[j][j];
        iPivot = j;
       }