numpy.fabs, numpy.sign fails #51

mu22le opened this Issue Jan 13, 2013 · 0 comments


None yet

2 participants

mu22le commented Jan 13, 2013

When I try to get the absolute value of a dimensioned quantity I get the following error:

In [97]: numpy.fabs(-2*quantities.m)
ValueError: ufunc %r not supported by quantities

quantities is awesome, I wish it was merged with numpy so that it would get better support by them!

@ddale ddale added a commit that closed this issue Jan 17, 2013
@ddale ddale supports numpy.fabs, fixes #51 724f2bc
@ddale ddale closed this in 724f2bc Jan 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment