From f33b105f50ce212fb7fecdc2f73e4806e63c7bb9 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 25 Feb 2025 11:08:29 +0100 Subject: [PATCH] First MSCKF test passed --- LinearAlgebra/Matrix.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinearAlgebra/Matrix.cs b/LinearAlgebra/Matrix.cs index 21e2670..696c547 100644 --- a/LinearAlgebra/Matrix.cs +++ b/LinearAlgebra/Matrix.cs @@ -243,7 +243,7 @@ public class Matrix2 { public void UpdateSlice((uint start, uint stop) rowRange, (uint start, uint stop) colRange, Matrix2 m) { for (uint i = rowRange.start; i < rowRange.stop; i++) { for (uint j = colRange.start; j < colRange.stop; j++) - this.data[i, j] = m.data[i - rowRange.start, j - colRange.stop]; + this.data[i, j] = m.data[i - rowRange.start, j - colRange.start]; } }