Skip to content

Commit

Permalink
Actually check it compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
nsmith- committed Mar 9, 2021
1 parent 0932d93 commit b45837c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RooParametricShapeBinPdf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include "HiggsAnalysis/CombinedLimit/interface/RooParametricShapeBinPdf.h"
#include "RooRealVar.h"
#include "RooRealVarSharedProperties.h"
#include "RooArgList.h"
#include "RooRealProxy.h"
#include "RooListProxy.h"
Expand All @@ -24,8 +25,8 @@ namespace {
};
class RooRealVarSmart : public RooRealVar {
public:
void setHashTableSize(int size) { ((RooRealVarSharedPropertiesSmart*)sharedProp())->setHashTableSize(size); }
int getHashTableSize() const { return ((RooRealVarSharedPropertiesSmart*)sharedProp())->getHashTableSize(); }
void setHashTableSize(int size) { ((RooRealVarSharedPropertiesSmart*)sharedProp().get())->setHashTableSize(size); }
int getHashTableSize() const { return ((RooRealVarSharedPropertiesSmart*)sharedProp().get())->getHashTableSize(); }
};
}

Expand Down

0 comments on commit b45837c

Please sign in to comment.