mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Case realization parameters. Return empty object and method name change
This commit is contained in:
@@ -98,7 +98,7 @@ void RigCaseRealizationParameters::addParameter(const QString& name, const QStri
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigCaseRealizationParameters::Value RigCaseRealizationParameters::parameterValue(const QString& name)
|
||||
{
|
||||
if (m_parameters.count(name) == 0) return std::numeric_limits<double>::infinity();
|
||||
if (m_parameters.count(name) == 0) return Value();
|
||||
return m_parameters[name];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user