1. 06 Dec, 2014 1 commit
  2. 04 Nov, 2014 2 commits
    • Jason Swails's avatar
      Oops... Forgot unit on the reshape command. · 5b4abbb5
      Jason Swails authored
      Add a test for the various numpy attributes (and the arguments they take) for
      the unit module.
      5b4abbb5
    • Jason Swails's avatar
      Fix another small bug for unit handling with numpy arrays. Fixes the exception: · a5c00fa5
      Jason Swails authored
      Traceback (most recent call last):
        File ".../python/tests/TestNumpyCompatibility.py", line 87, in testNumpyAttributes
          d = self.data.reshape((100, 3))
        File ".../simtk/unit/quantity.py", line 575, in reshape
          return Quantity(self._value.reshape(shape, order=order))
        File ".../simtk/unit/quantity.py", line 142, in __init__
          if value == first_item:
      ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
      
      Also add a test for new unit numpy capabilities.
      a5c00fa5
  3. 03 Nov, 2014 2 commits
  4. 15 Oct, 2014 1 commit
  5. 06 Oct, 2014 4 commits
  6. 16 Jul, 2014 1 commit
  7. 09 Dec, 2013 1 commit
  8. 06 Dec, 2013 1 commit
  9. 05 Dec, 2013 1 commit
  10. 12 Jul, 2013 1 commit
  11. 20 May, 2012 1 commit
  12. 07 May, 2012 1 commit
  13. 27 Mar, 2012 1 commit
  14. 13 Mar, 2012 1 commit
  15. 11 Feb, 2012 1 commit
  16. 08 Feb, 2012 1 commit
  17. 23 Jan, 2012 2 commits
  18. 15 Nov, 2011 1 commit
  19. 18 May, 2011 1 commit
  20. 12 Mar, 2011 1 commit
  21. 09 Mar, 2011 1 commit
  22. 08 Mar, 2011 1 commit
  23. 03 Mar, 2011 3 commits
  24. 26 Feb, 2011 1 commit