TMatrixD::MakeSymetric() - how to replace?

Hello,

I need to update some analysis package but I have a compilation error because of TMatrixD::MakeSymmetric() - method since it doesn’t exist anymore. Could you, please, advise me what is the best way to replace this method according to the new releases of ROOT ?

Thank you in advance.
Cheers, Gia

Hi Gia,

Yes after version 3 that method disappeared .

TMatrixD a …

TMatrixD at(TMatrixD::kTransposed,a);
TMatrixD a_sym = 0.5*(a+at);

Eddy