Skip to content

Commit 7505463

Browse files
committed
Fix Matrix::_checkDataSanity errors.
1 parent 79d31a6 commit 7505463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/steppable/mat2d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ namespace steppable
100100

101101
void Matrix::_checkDataSanity(const MatVec2D<Number>& data)
102102
{
103-
size_t size = 0;
103+
size_t size = data.front().size();
104104
for (const auto& row : data)
105105
{
106106
const size_t rowSize = row.size();

0 commit comments

Comments
 (0)