diff --git a/CHANGELOG.md b/CHANGELOG.md index b73e53543e3f..f1677aa78f7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Updated existing GitHub workflows to add testing with Python 3.13 [#2510](https://github.com/IntelPython/dpnp/pull/2510) * Aligned the license expression with `PEP-639` [#2511](https://github.com/IntelPython/dpnp/pull/2511) * Bumped oneMKL version up to `v0.8` [#2514](https://github.com/IntelPython/dpnp/pull/2514) +* Removed the use of class template argument deduction for alias template to conform to the C++17 standard [#2517](https://github.com/IntelPython/dpnp/pull/2517) ### Deprecated diff --git a/dpnp/backend/extensions/statistics/histogram.cpp b/dpnp/backend/extensions/statistics/histogram.cpp index 5e05a44858f2..be752566d514 100644 --- a/dpnp/backend/extensions/statistics/histogram.cpp +++ b/dpnp/backend/extensions/statistics/histogram.cpp @@ -139,12 +139,14 @@ struct HistogramF auto dispatch_edges = [&](uint32_t local_mem, const auto &weights, auto &hist) { if (device.is_gpu() && (local_mem >= bins_count + 1)) { - auto edges = CachedEdges(bins_edges, bins_count + 1, cgh); + auto edges = + CachedEdges(bins_edges, bins_count + 1, cgh); submit_histogram(in, size, dims, WorkPI, hist, edges, weights, nd_range, cgh); } else { - auto edges = UncachedEdges(bins_edges, bins_count + 1, cgh); + auto edges = + UncachedEdges(bins_edges, bins_count + 1, cgh); submit_histogram(in, size, dims, WorkPI, hist, edges, weights, nd_range, cgh); } @@ -165,7 +167,8 @@ struct HistogramF } else { auto hist = HistGlobalMemory(out); - auto edges = UncachedEdges(bins_edges, bins_count + 1, cgh); + auto edges = + UncachedEdges(bins_edges, bins_count + 1, cgh); submit_histogram(in, size, dims, WorkPI, hist, edges, weights, nd_range, cgh); }