Changeset 35528

Timestamp:
Oct 9, 2006, 4:05:25 AM (16 years ago)
Author:
david_abrahams
Message:

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.
(No files)

Note: See TracChangeset for help on using the changeset viewer.