diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e8cf79f..aa1dfa8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: pull_request: env: - WX_VERSION: '3.2.4' + WX_VERSION: '3.2.8.1' DEFAULT_BRANCH: develop diff --git a/include/wex/matrix.h b/include/wex/matrix.h index 952da002..48605206 100644 --- a/include/wex/matrix.h +++ b/include/wex/matrix.h @@ -175,8 +175,8 @@ class wxMatrix { wxMatrix old(*this); Resize(nr, nc); Fill(val); - for (size_t r = 0; r < nr && r < old.nrows(); r++) - for (size_t c = 0; c < nc && c < old.ncols(); c++) + for (size_t r = 0; r < nr && r < old.Rows(); r++) + for (size_t c = 0; c < nc && c < old.Cols(); c++) At(r, c) = old(r, c); }