From 3de0a8f115a6e691b92963153b8dce4dffa8c3c5 Mon Sep 17 00:00:00 2001 From: SatoshiTerasaki Date: Tue, 10 Dec 2024 14:30:06 +0900 Subject: [PATCH 1/2] Fix SamplingSVE constructor --- include/sparseir/sve.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sparseir/sve.hpp b/include/sparseir/sve.hpp index 7f2f14c..045b467 100644 --- a/include/sparseir/sve.hpp +++ b/include/sparseir/sve.hpp @@ -130,12 +130,12 @@ class SamplingSVE : public AbstractSVE { Rule gauss_y; // Constructor - SamplingSVE(std::shared_ptr kernel_, T epsilon_, int n_gauss_ = -1) + SamplingSVE(std::shared_ptr kernel_, double epsilon_, int n_gauss_ = -1) : kernel(kernel_), epsilon(epsilon_) { auto hints = kernel->sve_hints(epsilon); this->nsvals_hint = hints.nsvals_hint; n_gauss = (n_gauss_ > 0) ? n_gauss_ : hints.ngauss; - rule = Rule(n_gauss); + rule = Rule(n_gauss); segs_x = kernel->template segments_x(); segs_y = kernel->template segments_y(); gauss_x = piecewise(rule, segs_x); @@ -465,4 +465,4 @@ inline void canonicalize( v.polyvec[i].data *= gauge; } } -} // namespace sparseir \ No newline at end of file +} // namespace sparseir From 3a70cf389add51f87cef7aad169a54d745dca705 Mon Sep 17 00:00:00 2001 From: SatoshiTerasaki Date: Tue, 10 Dec 2024 14:30:16 +0900 Subject: [PATCH 2/2] Do not track run.sh --- run.sh | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 run.sh diff --git a/run.sh b/run.sh deleted file mode 100644 index 53c5fb8..0000000 --- a/run.sh +++ /dev/null @@ -1,2 +0,0 @@ -#rm -rf ./build && cmake -S . -B ./build -DSPARSEIR_BUILD_TESTING=ON && cmake --build ./build -j && ./build/test/libsparseirtests -cmake --build ./build -j && ./build/test/libsparseirtests