File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
name = " ApproxFunBase"
2
2
uuid = " fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3
- version = " 0.8.17 "
3
+ version = " 0.8.18 "
4
4
5
5
[deps ]
6
6
AbstractFFTs = " 621f4979-c628-5d54-868e-fcf4e3e8185c"
Original file line number Diff line number Diff line change @@ -761,8 +761,8 @@ function isapprox(f::Fun,g::Fun;
761
761
end
762
762
end
763
763
764
- isapprox (f:: Fun , g:: Number ) = f ≈ g* ones (space (f))
765
- isapprox (g:: Number , f:: Fun ) = g* ones (space (f)) ≈ f
764
+ isapprox (f:: Fun , g:: Number ; kw ... ) = isapprox (f, g* ones (space (f)); kw ... )
765
+ isapprox (g:: Number , f:: Fun ; kw ... ) = isapprox ( g* ones (space (f)), f; kw ... )
766
766
767
767
768
768
isreal (f:: Fun{<:RealSpace,<:Real} ) = true
Original file line number Diff line number Diff line change 678
678
@test ! ApproxFunBase. isleftendpoint (rightendpoint)
679
679
end
680
680
681
+ @testset " Fun isapprox with kw" begin
682
+ @test isapprox (Fun (1 ), 1 , atol= 1e-10 )
683
+ @test isapprox (1 , Fun (1 ), atol= 1e-10 )
684
+ end
685
+
681
686
@time include (" ETDRK4Test.jl" )
682
687
include (" show.jl" )
You can’t perform that action at this time.
0 commit comments