From 1ca02b687e87b40a0002629ba3e8047f28d0b73b Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 24 Oct 2024 04:40:41 +0000 Subject: [PATCH] Update test/basictests.jl --- test/basictests.jl | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/test/basictests.jl b/test/basictests.jl index e1f0d23..6cb644e 100644 --- a/test/basictests.jl +++ b/test/basictests.jl @@ -219,15 +219,12 @@ end end end -hasStaticArraysExt = !isnothing(Base.get_extension(ExponentialUtilities,:ExponentialUtilitiesStaticArraysExt)) -if hasStaticArraysExt - @testset "Static Arrays" begin - Random.seed!(0) - for N in (3,4,6,8),t in (0.1,1.0,10.0) - A = I+randn(SMatrix{N,N,Float64})/3 - b = randn(SVector{N,Float64}) - @test expv(t,A,b) ≈ exp(t*A)*b - end +@testset "Static Arrays" begin + Random.seed!(0) + for N in (3,4,6,8),t in (0.1,1.0,10.0) + A = I+randn(SMatrix{N,N,Float64})/3 + b = randn(SVector{N,Float64}) + @test expv(t,A,b) ≈ exp(t*A)*b end end