fixed: serialization nupcol in Runspec
also add it to comparison operator
This commit is contained in:
parent
891fda8e79
commit
08df29c991
@ -294,6 +294,7 @@ public:
|
||||
hystpar.serializeOp(serializer);
|
||||
m_actdims.serializeOp(serializer);
|
||||
m_sfuncctrl.serializeOp(serializer);
|
||||
serializer(m_nupcol);
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -343,6 +343,7 @@ Runspec Runspec::serializeObject()
|
||||
result.hystpar = EclHysterConfig::serializeObject();
|
||||
result.m_actdims = Actdims::serializeObject();
|
||||
result.m_sfuncctrl = SatFuncControls::serializeObject();
|
||||
result.m_nupcol = 2;
|
||||
|
||||
return result;
|
||||
}
|
||||
@ -415,7 +416,8 @@ bool Runspec::operator==(const Runspec& data) const {
|
||||
this->wellSegmentDimensions() == data.wellSegmentDimensions() &&
|
||||
this->hysterPar() == data.hysterPar() &&
|
||||
this->actdims() == data.actdims() &&
|
||||
this->saturationFunctionControls() == data.saturationFunctionControls();
|
||||
this->saturationFunctionControls() == data.saturationFunctionControls() &&
|
||||
this->m_nupcol == data.m_nupcol;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user