fixed: quell unused variable warning without OpenCL

This commit is contained in:
Arne Morten Kvarving 2023-09-26 08:45:33 +02:00
parent 8705cd16ad
commit eedfafe423

View File

@ -181,8 +181,9 @@ public:
void prepare(const Matrix& M, Vector& b)
{
OPM_TIMEBLOCK(prepare);
const bool firstcall = (this->matrix_ == nullptr);
[[maybe_unused]] const bool firstcall = (this->matrix_ == nullptr);
ParentType::prepare(M,b);
#if HAVE_OPENCL
// update matrix entries for solvers.
if (firstcall && bdaBridge_) {