Skip to content

Commit 22f5850

Browse files
committed
Fix the (TH1*, THStack*) ctor
1 parent 71eb22d commit 22f5850

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

graf2d/gpad/src/TRatioPlot.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,7 @@ TRatioPlot::TRatioPlot(TH1 *h1, THStack *st, Option_t *option) : TRatioPlot()
269269
tmpHist->Add(static_cast<TH1 *>(stackHists->At(i)));
270270
}
271271

272-
fHistDrawProxy = st;
273-
fHistDrawProxyStack = kTRUE;
272+
fHistDrawProxy = h1;
274273

275274
Init(h1, tmpHist, option);
276275

0 commit comments

Comments
 (0)