Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Aug 30, 2024
1 parent dd5a2ca commit e5cd0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gausskronrod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function cachedrule(::Union{Type{Float64},Type{ComplexF64}}, n::Integer)
n == 7 && return (xd7,wd7,wgd7)
lock(rulecache_lock)
try
return _cachedrule(typeof(float(real(one(T)))), Int(n))
return _cachedrule(Float64, Int(n))
finally
unlock(rulecache_lock)
end
Expand Down

0 comments on commit e5cd0d6

Please sign in to comment.