mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: Make a copy of histogram data.
This commit is contained in:
@@ -207,7 +207,7 @@ void RimStatisticsPlot::updatePlots()
|
||||
QBarSet* set0 = new QBarSet( m_plotWindowTitle );
|
||||
double minValue = std::numeric_limits<double>::max();
|
||||
double maxValue = -std::numeric_limits<double>::max();
|
||||
for ( double value : *histogramData.histogram )
|
||||
for ( double value : histogramData.histogram )
|
||||
{
|
||||
*set0 << value;
|
||||
minValue = std::min( minValue, value );
|
||||
|
||||
Reference in New Issue
Block a user