Skip to content

Commit

Permalink
Fixed small bug that I introduced in assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanaret committed Dec 1, 2024
1 parent d3a62b3 commit b70d50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uno/solvers/MA27/MA27Solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace uno {
// resize the factor by at least INFO(5) (here, 50% more)
factor.resize(static_cast<size_t>(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';
}
Expand Down

0 comments on commit b70d50b

Please sign in to comment.