Fixing atan2 typo in arguments (#1045)

This commit is contained in:
Richard Knoll 2018-08-06 11:31:33 -07:00 committed by GitHub
parent 2700a77cae
commit b03c984c38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -689,7 +689,7 @@ TNumber pow(TNumber x, TNumber y) {
//%
TNumber atan2(TNumber y, TNumber x) {
return fromDouble(::atan2(toDouble(y), toDouble(y)));
return fromDouble(::atan2(toDouble(y), toDouble(x)));
}
double randomDouble() {