Skip to content

Commit 5ca3506

Browse files
committed
bugfix in tests on v1
1 parent 1bbf9de commit 5ca3506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,8 @@ end
752752
@test tan(Pi^2) === tan^2)
753753
@test cot(Pi^2) === cot^2)
754754
@test sinc(Pi^2) === sinc^2)
755-
@test sinc(Pi^-2) sinc(π^-2) # should be equal ideally
756-
@test sinc(1/Pi^2) sinc(π^-2) # should be equal ideally
755+
@test sinc(Pi^-2) sinc((1/π)^2) # should be equal ideally
756+
@test sinc(1/Pi^2) sinc((1/π)^2) # should be equal ideally
757757
@test sec(Pi^2) === sec^2)
758758
@test csc(Pi^2) === csc^2)
759759
end

0 commit comments

Comments
 (0)