aboutsummaryrefslogtreecommitdiff
path: root/src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-29 08:40:12 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-29 08:40:12 +0200
commitee6931fb82c04aa94ceaab76e91925adcb493998 (patch)
treeb8431ce4485c6e941f3e5ab38d1b78d487530246 /src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java
parent56362295799741bec6ffe5c7713dbc2f1ee86dd7 (diff)
tidy whitespace
Diffstat (limited to 'src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java')
-rw-r--r--src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java b/src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java
index 463bf8d..41d5880 100644
--- a/src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java
+++ b/src/com.example.portfolio3/com/example/portfolio3/MatrixGraph.java
@@ -64,7 +64,7 @@ public class MatrixGraph extends AbstractGraph {
if (weight == null) {
continue;
}
- edges.add(new Edge(index2vertex[i],index2vertex[j],weight));
+ edges.add(new Edge(index2vertex[i], index2vertex[j], weight));
}
}
@@ -80,7 +80,7 @@ public class MatrixGraph extends AbstractGraph {
if (weight == null) {
continue;
}
- edges.add(new Edge(v1,index2vertex[j],weight));
+ edges.add(new Edge(v1, index2vertex[j], weight));
}
return edges;