Skip to content

Commit 6da152a

Browse files
fixed tuple for sincospi rule
1 parent 1b10564 commit 6da152a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rulesets/Base/fastmath_able.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ let
4949
@scalar_rule atan(y, x) @setup(u = x ^ 2 + y ^ 2) (x / u, -y / u)
5050
@scalar_rule sincos(x) @setup((sinx, cosx) = Ω) cosx -sinx
5151
# the position of the minus sign below warrants the correct type for π
52-
@scalar_rule sincospi(x) @setup((sinpix, cospix) = Ω) (π * cospix, π * (-sinpix))
52+
@scalar_rule sincospi(x) @setup((sinpix, cospix) = Ω) (π * cospix) (π * (-sinpix))
5353

5454
# exponents
5555
@scalar_rule cbrt(x) inv(3 * Ω ^ 2)

0 commit comments

Comments
 (0)