Commit 2a51d05f48233a6bf35ecd4282129d32947a73c9
1 parent
e0d2ebb0
Exists in
master
and in
16 other branches
#11100 - Minor fix
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/ParamOutputImpl/Plot/HistoPlot/HistoPlot.cc
... | ... | @@ -300,6 +300,9 @@ void HistoPlot::histo1DUtils(double startDate, double stopDate, HistogramSeriesP |
300 | 300 | boost::shared_ptr<Axis> lYAxis(_panel->getAxis(pHistogramProperties.getYAxisId())); |
301 | 301 | |
302 | 302 | Range lXRange = lXAxis->getRange(); |
303 | + | |
304 | + if(std::isnan(lXRange.getMin()) || std::isnan(lXRange.getMax())) | |
305 | + return; | |
303 | 306 | Range lYRange = lYAxis->Axis::getRange(); |
304 | 307 | |
305 | 308 | double yMin = NAN ; | ... | ... |