Skip to content

Commit

Permalink
Revert "Lower testing accuracy for Float64"
Browse files Browse the repository at this point in the history
This reverts commit fcba1c3.
  • Loading branch information
roflmaostc committed Jan 21, 2024
1 parent fcba1c3 commit b9d92f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rotation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ function rotation_testsuite(Backend)
device(x) = adapt(Backend(), x)
gradtest_fn = Backend == CPU ? gradtest : gputest
T = Float64
atol = T == Float32 ? 1e-3 : 5e-5
rtol = T == Float32 ? 1f-3 : 5e-5
atol = T == Float32 ? 1e-3 : 1e-6
rtol = T == Float32 ? 1f-3 : 1f-6
angles = deg2rad.([0, 0.0001, 35, 90, -90, -90.0123, 170, 180, 270, 360, 450, 1234.1234])

@testset "imrotate" begin
Expand Down

0 comments on commit b9d92f8

Please sign in to comment.