diff options
Diffstat (limited to 'tests/concepts/matrixalgo.nim')
-rw-r--r-- | tests/concepts/matrixalgo.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/concepts/matrixalgo.nim b/tests/concepts/matrixalgo.nim index 39cf16685..98e5b8b4f 100644 --- a/tests/concepts/matrixalgo.nim +++ b/tests/concepts/matrixalgo.nim @@ -16,8 +16,8 @@ type AnyTransform3D* = AnyMatrix[4, 4, float] proc transposed*(m: AnyMatrix): m.TransposedType = - for r in 0 .. <m.R: - for c in 0 .. <m.C: + for r in 0 ..< m.R: + for c in 0 ..< m.C: result[r, c] = m[c, r] proc determinant*(m: AnySquareMatrix): int = |