Merge pull request #4165 from atgeirr/avoid-useless-call

Do not call assignToSolution() and throw away the result.
This commit is contained in:
Atgeirr Flø Rasmussen
2022-10-14 10:31:26 +02:00
committed by GitHub

View File

@@ -316,8 +316,6 @@ public:
}
if (!isSubStep) {
data::Solution localCellData = {};
this->eclOutputModule_->assignToSolution(localCellData);
// Output the PRESSURE field
if (this->eclOutputModule_->getPRESSURE_ptr() != nullptr) {
damaris_write("PRESSURE", (void*)this->eclOutputModule_->getPRESSURE_ptr());