Removed unecessary code

This commit is contained in:
Svenn Tveit
2023-06-16 11:34:34 +02:00
parent 32692b750e
commit a008c303ab

View File

@@ -83,7 +83,7 @@ initFromState(const EclipseState& eclState)
}
const auto& ppcwmaxTables = tables.getPpcwmax();
this->enablePpcwmax_ = !ppcwmaxTables.empty() ? true : false;
this->enablePpcwmax_ = !ppcwmaxTables.empty();
if (this->enablePpcwmax_) {
maxAllowPc_.clear();