mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Provide default values for python methods to avoid occasional NaN
This commit is contained in:
parent
ed19afd126
commit
30b21ac19e
@ -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",
|
||||
"",
|
||||
|
Loading…
Reference in New Issue
Block a user