From 3b7dc4575b975db27ee98e19021ac2896624a122 Mon Sep 17 00:00:00 2001 From: "thibault.capt" <thibault.capt@etu.hesge.ch> Date: Mon, 16 Jan 2023 13:09:20 +0100 Subject: [PATCH] refactor --- src/Matrix.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Matrix.java b/src/Matrix.java index 53d8b67..7ef7da3 100644 --- a/src/Matrix.java +++ b/src/Matrix.java @@ -90,7 +90,7 @@ public class Matrix { 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++) { System.out.format("A[%d] ", i); @@ -98,12 +98,12 @@ public class Matrix { System.out.println(); for (int i = 0; i < this.x; i++) { - if(i < this.x - 2) - if(i < 10) + if (i < this.x - 2) + if (i < 10) System.out.print("AUX_" + i + " | "); else System.out.print("AUX_" + i + "| "); - else if(i == this.x - 2) + else if (i == this.x - 2) System.out.print("X[0] | "); else System.out.print("OBJ. | "); for (int j = 0; j < this.y; j++) { -- GitLab