Ver código fonte

Fix lots of bugs in the numeric interface and tests.

Tests:
* Coerce a result to bool to deal with Python's new Bool type
* Better reporting of mismatches in expected and received results
* Remove bogus nullary y.astype() call
* Fix all uses of trace and diagonal so they don't cause errors
* Use appropriate typecodes
* Use doctest detailed API to run just the relevant tests
* Factor out error handling from macro

API:
* Added get_module_name() function to get current numeric module
* new_(x) now returns an array instead of object
* Fixed the signatures of the factory() family of functions
* Updated docs accordingly.


[SVN r35528]
Dave Abrahams 20 anos atrás
pai
commit
35fa54577d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      libs/python

+ 1 - 1
libs/python

@@ -1 +1 @@
-Subproject commit 545be29ad3cedc30bdd53b3377df0b6e98d16101
+Subproject commit 49d4aac8ec00a0eee4232402a97c1da5cf5560e8

粤ICP备19079148号