Fixing atan2 typo in arguments (#1045)
This commit is contained in:
parent
2700a77cae
commit
b03c984c38
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user