Skip to content

Commit a77540a

Browse files
authored
fixes #90 (#91)
1 parent ea033fa commit a77540a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/polynomial/feasibility_set_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ int lp_feasibility_set_int_contains(const lp_feasibility_set_int_t* set, const l
208208
void lp_feasibility_set_int_pick_value(const lp_feasibility_set_int_t* set, lp_integer_t* value) {
209209
assert(!lp_feasibility_set_int_is_empty(set));
210210
if (!set->inverted) {
211-
size_t pos = random() % set->size;
211+
size_t pos = rand() % set->size;
212212
lp_integer_assign(lp_Z, value, set->elements + pos);
213213
} else {
214214
lp_integer_construct_from_int(lp_Z, value, 0);

0 commit comments

Comments
 (0)