This branch does 3 things, which should close #61:
Creates a new test code that handles unit convertors. This seems like a reasonable area to have tests running, because of the confidence we need for those functions.
Fixes bugs identified in #61 about time conversion, as well as one not previously identified bug with the mass conversion to slugs.
Fixes a bug I identified as I was writing the tests, where using the inplace parameter throws confusing errors if you haven't passed in a numpy type. This makes sense because the raw float, int, etc. aren't mutable anyway.
The changes to units.py are actually very small, so should be easy to look over.
This branch does 3 things, which should close #61:
inplace
parameter throws confusing errors if you haven't passed in a numpy type. This makes sense because the rawfloat
,int
, etc. aren't mutable anyway.The changes to units.py are actually very small, so should be easy to look over.