diff --git a/Project.toml b/Project.toml index dcc05fc9..b2a9a77a 100644 --- a/Project.toml +++ b/Project.toml @@ -24,7 +24,7 @@ TaylorSeriesSAExt = "StaticArrays" [compat] Aqua = "0.8" IntervalArithmetic = "0.15 - 0.20" -JLD2 = "0.4" +JLD2 = "0.5" LinearAlgebra = "<0.0.1, 1" Markdown = "<0.0.1, 1" RecursiveArrayTools = "2, 3" diff --git a/test/jld2.jl b/test/jld2.jl index 1cbf2e9d..e4b2a883 100644 --- a/test/jld2.jl +++ b/test/jld2.jl @@ -7,7 +7,7 @@ using Test @testset "Test TaylorSeries JLD2 extension" begin dq = set_variables("q", order=4, numvars=6) - random_TaylorN = [cos(sum(dq .* rand(6))), sin(sum(dq .* rand(6))), tan(sum(dq .* rand(6)))] + random_TaylorN = [exp(sum(rand(6) .* dq)) for _ in 1:10_000] jldsave("test.jld2"; random_TaylorN = random_TaylorN) recovered_taylorN = JLD2.load("test.jld2", "random_TaylorN") @test recovered_taylorN == random_TaylorN