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
commit 69f2ede363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());