We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca1924c commit bba25c4Copy full SHA for bba25c4
src/differentiate.jl
@@ -160,8 +160,8 @@ symbolic_derivative_1arg_list = [
160
( :asech, :( -1 / x / sqrt(1 - x^2) ))
161
( :acsch, :( -1 / abs(x) / sqrt(1 + x^2) ))
162
( :acoth, :( 1 / (1 - x^2) ))
163
- ( :deg2rad, :( oftype(x, pi) / 180 ))
164
- ( :rad2deg, :( 180 / oftype(x, pi) ))
+ ( :deg2rad, :( pi / 180 ))
+ ( :rad2deg, :( 180 / pi ))
165
( :erf, :( 2 * exp(-x*x) / sqrt(pi) ))
166
( :erfinv, :( 0.5 * sqrt(pi) * exp(erfinv(x) * erfinv(x)) ))
167
( :erfc, :( -2 * exp(-x*x) / sqrt(pi) ))
0 commit comments