Skip to content
Snippets Groups Projects
Commit ba865d25 authored by juliano.souzaluz's avatar juliano.souzaluz
Browse files

Update Simplex.java

parent c38d5632
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ public class Simplex {
int ligneSortante(Matrix mat, int y) {
int id = 0;
while (mat.getData(id, y) < 0) {
while (mat.getData(id, y) <= 0) {
id++;
}
double tmp = mat.getData(id, mat.getY() - 1) / mat.getData(id, y);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment