We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1744a commit 4ccdecbCopy full SHA for 4ccdecb
src/adaptivetransform.jl
@@ -20,17 +20,14 @@ increasingtruncations(::OneToInf) = oneto.(2 .^ (4:∞))
20
increasingtruncations(::BlockedUnitRange) = broadcast(n -> Block.(oneto(n)), (2 .^ (4:∞)))
21
22
23
-realeps(::Number) = eps(real(T))
24
-realeps(_) = eps()
25
-
26
function adaptivetransform_ldiv(A::AbstractQuasiArray{U}, f::AbstractQuasiVector{V}) where {U,V}
27
T = promote_type(eltype(U),eltype(V))
28
29
r = checkpoints(A)
30
fr = f[r]
31
maxabsfr = norm(fr,Inf)
32
33
- tol = 20realeps(T)
+ tol = 20eps(real(typeof(first(fr))))
34
ax = axes(A,2)
35
36
for jr in increasingtruncations(ax)
0 commit comments