We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4a312 commit 918722dCopy full SHA for 918722d
1 file changed
src/math/lp/dioph_eq.cpp
@@ -2239,6 +2239,10 @@ namespace lp {
2239
if (var_is_fresh(p.var()))
2240
continue;
2241
unsigned j = local_to_lar_solver(p.var());
2242
+ if (j == UINT_MAX) {
2243
+ TRACE(dio, tout << "(local: " << "x" << p.var() << ") is not registered \nbad entry:"; print_entry(ei, tout) << "\n";);
2244
+ return false;
2245
+ }
2246
if (is_fixed(j)) {
2247
TRACE(dio, tout << "x" << j << "(local: " << "x" << p.var() << ") should not be fixed\nbad entry:"; print_entry(ei, tout) << "\n";);
2248
return false;
0 commit comments