mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 15:43:07 -06:00
#3563 Temporary LGR : Use infinity() instead of max()
This commit is contained in:
parent
fbaa49b72c
commit
7febeba433
@ -1175,7 +1175,7 @@ size_t RigCaseCellResultsData::findOrLoadScalarResult(RiaDefines::ResultCatType
|
||||
{
|
||||
if (!values.empty())
|
||||
{
|
||||
values.resize(values.size() + tempGridCellCount, std::numeric_limits<double>::max());
|
||||
values.resize(values.size() + tempGridCellCount, std::numeric_limits<double>::infinity());
|
||||
|
||||
assignValuesToTemporaryLgrs(resultName, values);
|
||||
}
|
||||
@ -1195,7 +1195,7 @@ size_t RigCaseCellResultsData::findOrLoadScalarResult(RiaDefines::ResultCatType
|
||||
{
|
||||
if (!values.empty())
|
||||
{
|
||||
values.resize(values.size() + tempGridCellCount, std::numeric_limits<double>::max());
|
||||
values.resize(values.size() + tempGridCellCount, std::numeric_limits<double>::infinity());
|
||||
|
||||
assignValuesToTemporaryLgrs(resultName, values);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user