Skip to content

Commit 6defac8

Browse files
authored
Update ChebyshevIteration.java
1 parent a3915e1 commit 6defac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/maths/ChebyshevIteration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private static double[] matrixVectorMultiply(double[][] a, double[] v) {
138138
private static double[] vectorSubtract(double[] v1, double[] v2) {
139139
int n = v1.length;
140140
double[] result = new double[n];
141-
for (int i = or (int i = 0; i < n; i++) {
141+
for (int i = 0; i < n; i++) {
142142
result[i] = v1[i] - v2[i];
143143
}
144144
return result;

0 commit comments

Comments
 (0)