Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
terasakisatoshi committed Dec 10, 2024
1 parent 0c6dd77 commit 5c9aed6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/sparseir/sve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ class SamplingSVE : public AbstractSVE<K, T> {
auto hints = kernel->sve_hints(epsilon);
this->nsvals_hint = hints.nsvals_hint;
n_gauss = (n_gauss_ > 0) ? n_gauss_ : hints.ngauss;
rule = GaussLegendreRule(n_gauss);
rule = Rule(n_gauss);
segs_x = kernel->template segments_x<T>();
segs_y = kernel->template segments_y<T>();
gauss_x = GaussLegendreQuadrature(rule, segs_x);
gauss_y = GaussLegendreQuadrature(rule, segs_y);
gauss_x = piecewise(rule, segs_x);
gauss_y = piecewise(rule, segs_y);
}

// Compute matrices for SVD
Expand Down

0 comments on commit 5c9aed6

Please sign in to comment.