mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#829) Use std::vector instead of std::set for categories. Added categoryNames to RimLegendConfig
This commit is contained in:
@@ -361,12 +361,7 @@ void RimEclipsePropertyFilter::computeResultValueRange()
|
||||
|
||||
if (resultDefinition->hasCategoryResult())
|
||||
{
|
||||
std::set<int> vals = results->cellResults()->uniqueCellScalarValues(scalarIndex);
|
||||
|
||||
for (auto val : vals)
|
||||
{
|
||||
m_uniqueCellValues.push_back(val);
|
||||
}
|
||||
m_uniqueCellValues = results->cellResults()->uniqueCellScalarValues(scalarIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user