Skip to content

Commit 4ccdecb

Browse files
committed
Update adaptivetransform.jl
1 parent ef1744a commit 4ccdecb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/adaptivetransform.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@ increasingtruncations(::OneToInf) = oneto.(2 .^ (4:∞))
2020
increasingtruncations(::BlockedUnitRange) = broadcast(n -> Block.(oneto(n)), (2 .^ (4:∞)))
2121

2222

23-
realeps(::Number) = eps(real(T))
24-
realeps(_) = eps()
25-
2623
function adaptivetransform_ldiv(A::AbstractQuasiArray{U}, f::AbstractQuasiVector{V}) where {U,V}
2724
T = promote_type(eltype(U),eltype(V))
2825

2926
r = checkpoints(A)
3027
fr = f[r]
3128
maxabsfr = norm(fr,Inf)
3229

33-
tol = 20realeps(T)
30+
tol = 20eps(real(typeof(first(fr))))
3431
ax = axes(A,2)
3532

3633
for jr in increasingtruncations(ax)

0 commit comments

Comments
 (0)