Skip to content

Commit

Permalink
[test] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdymercury authored Jan 30, 2025
1 parent 2d307a8 commit c5a1824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hist/hist/test/test_TH1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ TEST(TH1, DumpOutput)
// https://github.com/root-project/root/issues/17552
TEST(TH1, AddBinContent)
{
TH1F h("h1", "h1", 10, 0, 1);
h.AddBinContent(1,1.);
TH1F h1("h1", "h1", 10, 0, 1);
h1.AddBinContent(1,1.);
EXPECT_FLOAT_EQ(h1.GetBinContent(1),1.);
TH2F h2("h2", "h2", 10, 0, 1, 2, 0, 3);
h2.AddBinContent(1,1,1.);
Expand Down

0 comments on commit c5a1824

Please sign in to comment.