Skip to content
Snippets Groups Projects
Commit 3b7dc457 authored by thibault.capt's avatar thibault.capt
Browse files

refactor

parent 818d1fe9
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,7 @@ public class Matrix { ...@@ -90,7 +90,7 @@ public class Matrix {
System.out.format("Z[%d] ", i); System.out.format("Z[%d] ", i);
} }
System.out.format("S[%d] ", this.y/2); System.out.format("S[%d] ", this.y / 2);
for (int i = 0; i < nbAux; i++) { for (int i = 0; i < nbAux; i++) {
System.out.format("A[%d] ", i); System.out.format("A[%d] ", i);
...@@ -98,12 +98,12 @@ public class Matrix { ...@@ -98,12 +98,12 @@ public class Matrix {
System.out.println(); System.out.println();
for (int i = 0; i < this.x; i++) { for (int i = 0; i < this.x; i++) {
if(i < this.x - 2) if (i < this.x - 2)
if(i < 10) if (i < 10)
System.out.print("AUX_" + i + " | "); System.out.print("AUX_" + i + " | ");
else else
System.out.print("AUX_" + i + "| "); System.out.print("AUX_" + i + "| ");
else if(i == this.x - 2) else if (i == this.x - 2)
System.out.print("X[0] | "); System.out.print("X[0] | ");
else System.out.print("OBJ. | "); else System.out.print("OBJ. | ");
for (int j = 0; j < this.y; j++) { for (int j = 0; j < this.y; j++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment