Skip to content

Commit

Permalink
Merge pull request #148 from surzks/SingleNumQStratcommit3
Browse files Browse the repository at this point in the history
Type Stable Re-Parameterization of SingleNumQStrat
  • Loading branch information
krcools authored Dec 4, 2024
2 parents 96e45a4 + d3747ca commit a27aa3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quadrature/quadstrats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ macro defaultquadstrat(dop, body)
error("@defaultquadstrat expects a first argument of the for (op,tfs,bfs) or (linform,tfs)")
end

struct SingleNumQStrat
quad_rule::Int
struct SingleNumQStrat{R}
quad_rule::R
end

function quadinfo(op, tfs, bfs; quadstrat=defaultquadstrat(op, tfs, bfs))
Expand Down

0 comments on commit a27aa3f

Please sign in to comment.