v923z / micropython-ulab

a numpy-like fast vector module for micropython, circuitpython, and their derivatives
https://micropython-ulab.readthedocs.io/en/latest
MIT License
422 stars 116 forks source link

[BUG] let arctan2 treat scalars correctly #545

Closed v923z closed 2 years ago

v923z commented 2 years ago

As pointed out in https://github.com/adafruit/circuitpython/issues/6692, arctan2 returns an array, even if both inputs are scalars.