#8250 Use variadic macros and remove obsolete parameters

This commit is contained in:
Magne Sjaastad
2021-11-14 14:15:12 +01:00
parent 1b869a9356
commit 2a65636ba3
392 changed files with 2275 additions and 2533 deletions

View File

@@ -53,9 +53,9 @@ RimObjectiveFunction::RimObjectiveFunction()
: changed( this )
{
CAF_PDM_InitObject( "Objective Function", "", "", "" );
CAF_PDM_InitObject( "Objective Function" );
CAF_PDM_InitFieldNoDefault( &m_functionType, "FunctionType", "Function Type", "", "", "" );
CAF_PDM_InitFieldNoDefault( &m_functionType, "FunctionType", "Function Type" );
CAF_PDM_InitField( &m_normalizeByNumberOfObservations,
"NormalizeByNumberOfObservations",
@@ -73,9 +73,9 @@ RimObjectiveFunction::RimObjectiveFunction()
"",
"" );
CAF_PDM_InitField( &m_errorEstimatePercentage, "ErrorEstimatePercentage", 100.0, "Error Estimate [0..100 %]", "", "", "" );
CAF_PDM_InitField( &m_errorEstimatePercentage, "ErrorEstimatePercentage", 100.0, "Error Estimate [0..100 %]" );
CAF_PDM_InitField( &m_useSquaredError, "UseSquaredError", true, "Use Squared Error Term", "", "", "" );
CAF_PDM_InitField( &m_useSquaredError, "UseSquaredError", true, "Use Squared Error Term" );
}
//--------------------------------------------------------------------------------------------------