From 84574f1926167f2a4967225b56300f43298a4269 Mon Sep 17 00:00:00 2001 From: Matthias Wittgen Date: Sat, 28 Feb 2026 15:31:13 -0800 Subject: [PATCH 1/2] Fix compilation issues with newer compilers and boost versions --- CHANGELOG.md | 6 ++++++ include/ndarray/ArrayBase.h | 6 +----- include/ndarray/Vector.h | 1 + 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e350d59f..33a8de5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # ndarray change log +## 1.6.5 + +### Bug fixes + +Fix compilation issues with newer compiler and boost versions. + ## 1.5.1 ### Bug fixes diff --git a/include/ndarray/ArrayBase.h b/include/ndarray/ArrayBase.h index 79325028..085a44c0 100644 --- a/include/ndarray/ArrayBase.h +++ b/include/ndarray/ArrayBase.h @@ -85,11 +85,7 @@ class ArrayBase : public ExpressionBase { /// @brief Return a single element from the array. Element & operator[](Index const & i) const { - return *(this->_data + this->_core-> - #ifndef _MSC_VER - template - #endif - computeOffset(i)); + return *(this->_data + this->_core->computeOffset(i)); } /// @brief Return an Iterator to the beginning of the array. diff --git a/include/ndarray/Vector.h b/include/ndarray/Vector.h index f8e476c6..13e6cb07 100644 --- a/include/ndarray/Vector.h +++ b/include/ndarray/Vector.h @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include From 62732d2b1ac0cb7106f85aa34846f35888a499ac Mon Sep 17 00:00:00 2001 From: Matthias Wittgen Date: Sat, 28 Feb 2026 15:52:28 -0800 Subject: [PATCH 2/2] Update python build matrix --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9e4244d2..af64045c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true miniconda-version: "latest"