Fix asserts for get_index

This commit is contained in:
Milo Priegnitz
2024-06-02 22:36:04 +02:00
parent e9b2017744
commit 5cf23f802e
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ sta::math::matrix m_0 = sta::math::matrix::zeros(3,2);
// Set specific entries in the matrix:
m_0.set(0, 1, 4); // set the entry in the first column and second column to 0
m_0.set(1, 0, 5);
m_0.set(2, 2, 99);
//m_0.set(2, 2, 99); -> Column index out of range
// Display the matrix:
m_0.show_serial();