diff --git a/CHANGELOG.md b/CHANGELOG.md index 31c94ba897..5954359481 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bug Fixes +Fixed a [bug](https://github.com/LLNL/sundials/pull/523) in v7.1.0 with the SYCL N_Vector `N_VSpace` function. + ### Deprecation Notices ## Changes to SUNDIALS in release 7.1.0 diff --git a/doc/shared/RecentChanges.rst b/doc/shared/RecentChanges.rst index 4f1514700e..c10634340f 100644 --- a/doc/shared/RecentChanges.rst +++ b/doc/shared/RecentChanges.rst @@ -4,4 +4,6 @@ **Bug Fixes** +Fixed a `bug `_ in v7.1.0 with the SYCL N_Vector ``N_VSpace`` function. + **Deprecation Notices** diff --git a/src/nvector/sycl/nvector_sycl.cpp b/src/nvector/sycl/nvector_sycl.cpp index ce2106e210..2f5b6a0a61 100644 --- a/src/nvector/sycl/nvector_sycl.cpp +++ b/src/nvector/sycl/nvector_sycl.cpp @@ -870,7 +870,7 @@ void N_VDestroy_Sycl(N_Vector v) return; } -void N_VSpace_Sycl(N_Vector X, long int* lrw, long int* liw) +void N_VSpace_Sycl(N_Vector X, sunindextype* lrw, sunindextype* liw) { *lrw = NVEC_SYCL_CONTENT(X)->length; *liw = 2;