GRIFFINCollaboration / GRSISort

A lean, mean, sorting machine.
MIT License
22 stars 54 forks source link

Error when using 'make' in GRSIData: AngularCorrections.o #1467

Closed JohnFuller09 closed 1 month ago

JohnFuller09 commented 1 month ago

Running make in GRSIData returns only one error:

Compiling .build/util/AngularCorrelations.o [ERROR] util/AngularCorrelations.cxx: In function ‘std::vector A2a4Method(TGraphErrors, TGraphErrors, TGraphErrors, TGraphErrors)’: util/AngularCorrelations.cxx:838:57: error: ‘LegendrePolynomial’ is not a member of ‘TGRSIFunctions’ 838 | auto* legendre = new TF1("legendre", TGRSIFunctions::LegendrePolynomial, -1., 1., nPar); | ^~~~~~ make: *** [makefile:178: .build/util/AngularCorrelations.o] Error 1

All other lines return 'OK'. This was after git clone https://github.com/GRIFFINCollaboration/GRSIData

VinzenzBildstein commented 1 month ago

This should be fixed with pull request #1468. Essentially your root installation is missing mathmore, which suppressed the availability of that function, now the function still exists, it just returns a default value and gives an error message if you try to use it.

VinzenzBildstein commented 1 month ago

Can you confirm if this PR fixes your issue, @JohnFuller09 (or add more details why it's still not working)