Skip to content

return scalar for scalar input

Choose a tag to compare

@scivision scivision released this 27 Jan 03:23
e852625

v2.0 introduced the use of numpy.vectorize to allow seamless pymap3d use with ndarray but also without numpy and scalars. However, this returned 0-d ndarray for certain functions rather than scalars for scalar inputs. This fixes that issue and adds tests for it.