First MSCKF test passed

This commit is contained in:
Pascal Serrarens 2025-02-25 11:08:29 +01:00
parent c1b9a8c5e6
commit f33b105f50

View File

@ -243,7 +243,7 @@ public class Matrix2 {
public void UpdateSlice((uint start, uint stop) rowRange, (uint start, uint stop) colRange, Matrix2 m) { 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 i = rowRange.start; i < rowRange.stop; i++) {
for (uint j = colRange.start; j < colRange.stop; j++) 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];
} }
} }