mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-peak.git
synced 2025-12-16 18:18:03 +00:00
Fix asserts for get_index
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user