Skip to content

np.unwrap fails #10

Open
Open

Description

@ddale

Test suite failure:
======================================================================
FAIL: test_unwrap (quantities.tests.test_umath.TestUmath)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/darren/Projects/python-quantities/quantities/tests/test_umath.py", line 239, in test_unwrap
self.assertQuantityEqual(np.unwrap([0,540]_pq.deg), [0,180]_pq.deg)
File "/Users/darren/Projects/python-quantities/quantities/tests/common.py", line 37, in assertQuantityEqual
% (delta, q1.magnitude, q2.magnitude, msg)
AssertionError: Magnitudes differ by more than 1e-05 ([ 0. -0.35393642] vs [ 0. 180.])

Activity

  1. mih commented on Sep 26, 2011

    @mih

    Seems to be resolved with 0.10

  2. added
    bug
    numpy-integration
    on Nov 17, 2026
  3. added this to the 0.18.0 milestone on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugnumpy-integration

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions