Skip to content

Commit

Permalink
Test cbrt only on recent julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Aug 27, 2024
1 parent cb2b702 commit 2df5678
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2884,7 +2884,9 @@ end
@test sqrt(F)^2 F
F = Fill(-4, 4, 4)
A = Array(F)
@test cbrt(F) cbrt(A) rtol=1e-5
if VERSION >= v"1.11.0-rc3"
@test cbrt(F) cbrt(A) rtol=1e-5
end
@test cbrt(F)^3 F

# avoid overflow
Expand Down

0 comments on commit 2df5678

Please sign in to comment.