Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix #37

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading