Skip to content

Commit 3ad43aa

Browse files
committed
assert(false) -> assert(0)
1 parent 9cbd182 commit 3ad43aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/polypyVariable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Variable_richcompare(PyObject *self, PyObject *other, int op){
515515
result = (x->x >= y->x ? Py_True : Py_False);
516516
break;
517517
default:
518-
assert(false);
518+
assert(0);
519519
}
520520
}
521521
return result;

src/polynomial/feasibility_set_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ void lp_feasibility_set_int_pick_value(const lp_feasibility_set_int_t* set, lp_i
231231
// TODO proper implementation
232232
// get random element between (incl.) 0 and (|K| - size)
233233
// find and add number of <= element
234-
assert(false);
234+
assert(0);
235235
}
236236
}
237237

0 commit comments

Comments
 (0)