Skip to content

Commit 0660c60

Browse files
authored
Fixed problematic function call
A function call in reduce_matrix.c caused the program to crash during runtime on linux. This is modified to some other function call that works on linux and windows.
1 parent 3078858 commit 0660c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reduce_matrix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ void reduce_matrix(dyn_array_classic* matrix, dyn_array* relations, dyn_array* s
355355
{
356356
if (*(sorted.start+aa) > *(sorted.start)) *(sorted.start+aa) -= 1;
357357
}
358-
delete_classic_first(&sorted);
358+
delete_classic(&sorted, 0);
359359
}
360360
else
361361
{

0 commit comments

Comments
 (0)