Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Framework/Core/include/Framework/HistogramSpec.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ struct AxisSpec {
}
if (binEdges[0] != VARIABLE_WIDTH) {
nBins = static_cast<int>(binEdges[0]);
binEdges.resize(3); // nBins, lowerBound, upperBound, disregard whatever else is stored in vecotr
if (binEdges.size() < 3 || binEdges[1] > binEdges[2]) {
LOG(fatal) << "Defined ill-defined axis";
}
binEdges.resize(3); // nBins, lowerBound, upperBound, disregard whatever else is stored in vector
}
binEdges.erase(binEdges.begin()); // remove first entry that we assume to be number of bins
}
Expand Down