TMatrixT<TComplex> instantiation error

Hi,

I have loaded the following code in ROOT 5.18

#include "Riostream.h"
#include "TComplex.h"
#include "TMatrixT.h"

void foo() {
  TMatrixT<TComplex> K1;
}

Running foo() gives

I interpret/understand/think, that ROOT

  1. creates an instance of TMatrixT,
  2. checks, if the matrix object is valid,
  3. which does not work, because BIT(14) is not defined,
  4. additionally or therefore throws a seg violation

I don’t have any idea how to fix or circumvent 3. and 4.

Thanks.
Cheers.
Jan

Hi,

You will need to load libMatrix explicitly so that you get the compiled version instead of the intertreted version (of TMatrixT). This is a current weakness of the autoloader.

Cheers,
Philippe