diff --git a/uno/solvers/MA27/MA27Solver.cpp b/uno/solvers/MA27/MA27Solver.cpp index a82890d5..cda96f2f 100644 --- a/uno/solvers/MA27/MA27Solver.cpp +++ b/uno/solvers/MA27/MA27Solver.cpp @@ -151,7 +151,7 @@ namespace uno { // resize the factor by at least INFO(5) (here, 50% more) factor.resize(static_cast(3 * info[eINFO::NRLNEC] / 2)); - assert(info[eINFO::IFLAG] && eIFLAG::SUCCESS && "MA27: the symbolic factorization failed"); + assert(info[eINFO::IFLAG] == eIFLAG::SUCCESS && "MA27: the symbolic factorization failed"); if (info[eINFO::IFLAG] != eIFLAG::SUCCESS) { WARNING << "MA27 has issued a warning: IFLAG = " << info[eINFO::IFLAG] << " additional info, IERROR = " << info[eINFO::IERROR] << '\n'; }