Menu

Commit [r26905]  Maximize  Restore  History

Merged revisions 26901-26902 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r26901 | bugman | 2014-12-02 21:39:10 +0100 (Tue, 02 Dec 2014) | 9 lines

Created the State.test_bug_23017_ieee_754_multidim_numpy_arrays system test.

This is to catch bug #23017 (https://gna.org/bugs/?23017), the multidimensional numpy arrays are not
being stored as IEEE 754 arrays in the XML state and results files.

This test checks a rank-2 float64 numpy array stored in the current data pipe against what the IEEE
754 int list should be for it.
........
r26902 | bugman | 2014-12-02 21:42:14 +0100 (Tue, 02 Dec 2014) | 9 lines

Simple fix for bug #23017 (https://gna.org/bugs/?23017).

This is the multidimensional numpy arrays are not being stored as IEEE 754 arrays in the XML state
and results files. The problem was a relatively recent regression caused by a change to the
is_float_matrix() function of the lib.arg_check module. It was simply that the default dims keyword
argument value was changed from None to (3, 3). Therefore any call to the function without
supplying the dims argument would fail if the matrix was not of the (3, 3) shape.
........

bugman 2014-12-02

changed /branches/space_mapping_refactor
changed /branches/space_mapping_refactor/lib/arg_check.py
changed /branches/space_mapping_refactor/test_suite/system_tests/state.py
/branches/space_mapping_refactor/lib/arg_check.py Diff Switch to side-by-side view
Loading...
/branches/space_mapping_refactor/test_suite/system_tests/state.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.