Skip to content

Commit

Permalink
Merge pull request #37 from SpM-lab/terasaki/minor-fix
Browse files Browse the repository at this point in the history
Minor fix
  • Loading branch information
terasakisatoshi authored Dec 10, 2024
2 parents b3e0e0e + 3a70cf3 commit ba65da1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/sparseir/sve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ class SamplingSVE : public AbstractSVE<K, T> {
Rule<T> gauss_y;

// Constructor
SamplingSVE(std::shared_ptr<const K> kernel_, T epsilon_, int n_gauss_ = -1)
SamplingSVE(std::shared_ptr<const K> 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<T>(n_gauss);
segs_x = kernel->template segments_x<T>();
segs_y = kernel->template segments_y<T>();
gauss_x = piecewise(rule, segs_x);
Expand Down Expand Up @@ -465,4 +465,4 @@ inline void canonicalize(
v.polyvec[i].data *= gauge;
}
}
} // namespace sparseir
} // namespace sparseir
2 changes: 0 additions & 2 deletions run.sh

This file was deleted.

0 comments on commit ba65da1

Please sign in to comment.