From de12a990aaa580e029539a0c8536c64ccd13ff3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 13 Oct 2022 21:42:53 +0200 Subject: [PATCH] Do not call assignToSolution() and throw away the result. --- ebos/eclwriter.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/ebos/eclwriter.hh b/ebos/eclwriter.hh index 6ba5d8d97..130a491fa 100644 --- a/ebos/eclwriter.hh +++ b/ebos/eclwriter.hh @@ -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());