Skip to content

Commit

Permalink
oops2
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 15, 2024
1 parent 3c40528 commit 9dc457a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/calcium/qqbar-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,10 @@ end
end
end

x = sqrt(QQBar(2))
x = sqrt(R(2))
@test isapprox(Float64(x), sqrt(2))

x = sqrt(QQBar(-2))
x = sqrt(R(-2))
@test_throws InexactError Float64(x)
end

Expand Down

0 comments on commit 9dc457a

Please sign in to comment.