Skip to content

Commit 23a6dbd

Browse files
committed
matrix.h had unknown function nrows() and ncols() that should not have compiled
1 parent 414fc82 commit 23a6dbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/wex/matrix.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ class wxMatrix {
175175
wxMatrix<T> old(*this);
176176
Resize(nr, nc);
177177
Fill(val);
178-
for (size_t r = 0; r < nr && r < old.nrows(); r++)
179-
for (size_t c = 0; c < nc && c < old.ncols(); c++)
178+
for (size_t r = 0; r < nr && r < old.Rows(); r++)
179+
for (size_t c = 0; c < nc && c < old.Cols(); c++)
180180
At(r, c) = old(r, c);
181181
}
182182

0 commit comments

Comments
 (0)