Basically we were converting to Julia Array type for all input y_units, rather than only list inputs.
Surprisingly this got through the unittests because m/s was used for the units in all the tests, meaning that m (first component of the vector ['m', '/', 's']) is still a valid unit!
Fixes #544 by @drcassar.
Basically we were converting to Julia
Array
type for all inputy_units
, rather than onlylist
inputs.Surprisingly this got through the unittests because
m/s
was used for the units in all the tests, meaning thatm
(first component of the vector['m', '/', 's']
) is still a valid unit!