Skip to content

Commit 4a93725

Browse files
committed
BinningPolicy: Fix bug in getAllBinsCount
1 parent d95be4d commit 4a93725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/BinningPolicy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ struct BinningPolicyBase {
188188
if constexpr (N == 2) {
189189
return getXBinsCount() * getYBinsCount();
190190
}
191-
if constexpr (N == 2) {
191+
if constexpr (N == 3) {
192192
return getXBinsCount() * getYBinsCount() * getZBinsCount();
193193
}
194194
return -1;

0 commit comments

Comments
 (0)