Skip to content
Snippets Groups Projects
Commit 013dd441 authored by Rene Brun's avatar Rene Brun
Browse files

From Fons:

Fix required to compile on OpenSolaris.
This fix was already in, but removed by mistake by the TMVA team in the recent update.


git-svn-id: http://root.cern.ch/svn/root/trunk@29197 27541ba8-7e3a-0410-8455-c3a389f83636
parent 605fb34e
No related branches found
No related tags found
No related merge requests found
...@@ -70,9 +70,9 @@ namespace TMVA { ...@@ -70,9 +70,9 @@ namespace TMVA {
public: public:
TMVAGaussPair( Float_t f, Float_t w ): fF(f), fW(w) {} TMVAGaussPair( Float_t f, Float_t w ): fF(f), fW(w) {}
Bool_t operator > ( const TMVAGaussPair &p ) { return fF > p.fF; } Bool_t operator > ( const TMVAGaussPair &p ) const { return fF > p.fF; }
Bool_t operator < ( const TMVAGaussPair &p ) { return fF < p.fF; } Bool_t operator < ( const TMVAGaussPair &p ) const { return fF < p.fF; }
Bool_t operator == ( const TMVAGaussPair &p ) { return fF == p.fF; } Bool_t operator == ( const TMVAGaussPair &p ) const { return fF == p.fF; }
Float_t GetValue() const { return fF; } Float_t GetValue() const { return fF; }
Float_t GetWeight() const { return fW; } Float_t GetWeight() const { return fW; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment