mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 00:10:02 -06:00
fixed: quell unused variable warning without OpenCL
This commit is contained in:
parent
8705cd16ad
commit
eedfafe423
@ -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_) {
|
||||
|
Loading…
Reference in New Issue
Block a user