From 885309d97ce6295b8304533f4a29a96fe253866f Mon Sep 17 00:00:00 2001 From: Mazzoleni Alice Francesca Date: Thu, 3 Apr 2025 17:14:28 +0200 Subject: [PATCH] fix build --- include/aare/Interpolator.hpp | 4 ++-- src/Interpolator.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/aare/Interpolator.hpp b/include/aare/Interpolator.hpp index 5843046..88f127e 100644 --- a/include/aare/Interpolator.hpp +++ b/include/aare/Interpolator.hpp @@ -5,6 +5,7 @@ #include "aare/ClusterVector.hpp" #include "aare/NDArray.hpp" #include "aare/NDView.hpp" + namespace aare { struct Photon { @@ -27,8 +28,7 @@ class Interpolator { NDArray get_ietax() { return m_ietax; } NDArray get_ietay() { return m_ietay; } - template >> + template std::vector interpolate(const ClusterVector &clusters); }; diff --git a/src/Interpolator.cpp b/src/Interpolator.cpp index e4f8e5c..3680522 100644 --- a/src/Interpolator.cpp +++ b/src/Interpolator.cpp @@ -57,8 +57,7 @@ Interpolator::Interpolator(NDView etacube, NDView xbins, // TODO: generalize to support any clustertype!!! otherwise add std::enable_if_t // to only take Cluster2x2 and Cluster3x3 -template >> +template std::vector Interpolator::interpolate(const ClusterVector &clusters) { std::vector photons;