X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=STEER%2FSTEER%2FAliSymMatrix.cxx;h=8e79af114fd23e521c44fe3ee40f46c9035f229c;hp=326aade1c4ac1b9227b1dc84603a9138ebe9e8b0;hb=3c5b4cc8f23e69508eb65e8bc5f77e86e783c295;hpb=76ce4b5bf0c39239721712c4cc2f23151ba6e9f4 diff --git a/STEER/STEER/AliSymMatrix.cxx b/STEER/STEER/AliSymMatrix.cxx index 326aade1c4a..8e79af114fd 100644 --- a/STEER/STEER/AliSymMatrix.cxx +++ b/STEER/STEER/AliSymMatrix.cxx @@ -207,13 +207,7 @@ AliSymMatrix* AliSymMatrix::DecomposeChol() // if (!fgBuffer || fgBuffer->GetSizeUsed()!=GetSizeUsed()) { delete fgBuffer; - try { - fgBuffer = new AliSymMatrix(*this); - } - catch(bad_alloc&) { - AliInfo("Failed to allocate memory for Choleski decompostions"); - return 0; - } + fgBuffer = new AliSymMatrix(*this); } else (*fgBuffer) = *this; // @@ -478,13 +472,7 @@ int AliSymMatrix::SolveSpmInv(double *vecB, Bool_t stabilize) // if (!fgBuffer || fgBuffer->GetSizeUsed()!=GetSizeUsed()) { delete fgBuffer; - try { - fgBuffer = new AliSymMatrix(*this); - } - catch(bad_alloc&) { - AliError("Failed to allocate memory for matrix inversion buffer"); - return 0; - } + fgBuffer = new AliSymMatrix(*this); } else (*fgBuffer) = *this; //