mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Provide default values for python methods to avoid occasional NaN
This commit is contained in:
1 parent
ed19afd126
commit
30b21ac19e
2 files changed
+2
-2
No files matched your search
@@ -43,7 +43,7 @@ RimcStimPlanModelCollection_newStimPlanModel::RimcStimPlanModelCollection_newSti
|
||||
{
|
||||
CAF_PDM_InitObject( "Create StimPlan Model", "", "", "Create a new StimPlan Model" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellPath, "WellPath", "", "", "", "Well Path" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_md, "MeasuredDepth", "", "", "", "Measured Depth" );
|
||||
CAF_PDM_InitScriptableField( &m_md, "MeasuredDepth", 0.0, "Measured Depth", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_stimPlanModelTemplate, "StimPlanModelTemplate", "", "", "", "StimPlan Model Template" );
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ RimcWellPath_newFracture::RimcWellPath_newFracture( caf::PdmObjectHandle* self )
|
||||
{
|
||||
CAF_PDM_InitObject( "Add StimPlan Fracture", "", "", "Add StimPlan Fracture" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_md, "MeasuredDepth", "", "", "", "Measured Depth" );
|
||||
CAF_PDM_InitScriptableField( &m_md, "MeasuredDepth", 0.0, "Measured Depth", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_stimPlanFractureTemplate,
|
||||
"StimPlanFractureTemplate",
|
||||
"",
|
||||
|
||||
Reference in new issue
Block a user