Dear Yung-Chin,
chars are treated differently in the array packages Numeric numarray
and numpy. So I believe this error is in the tests and you will
not experience any problems when using pygsl.
Thank you for reporting this problem, I will fix it for the next release.
Sincerely yours
Pierre
>
> ------------------------------------------------------------------------
>
> ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................Etest_2_isnull
> (__main__.SetZeroCharMatrixTestCase) <built-in function
> gsl_matrix_char_isnull>
> ...Etest_2_isnull (__main__.SetZeroCharMatrixUITestCase) <built-in function
> gsl_matrix_char_isnull>
> ......................................................................................................................................................................................................................................................
> ======================================================================
> ERROR: test_2_isnull (__main__.SetZeroCharMatrixTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "block_test.py", line 339, in test_2_isnull
> a = tmp(self.array)
> File "src/init/block_helpers.c", line 712, in PyGSL_matrix_check
> File "src/init/block_helpers.c", line 177, in
> PyGSL_PyArray_prepare_gsl_matrix_view
> File "src/init/block_helpers.c", line 216, in PyGSL_PyArray_Check
> gsl_SanityCheckError: sanity check failed - shouldn't happen: The array type
> did not match the spezified one!
>
> ======================================================================
> ERROR: test_2_isnull (__main__.SetZeroCharMatrixUITestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "block_test.py", line 339, in test_2_isnull
> a = tmp(self.array)
> File "src/init/block_helpers.c", line 712, in PyGSL_matrix_check
> File "src/init/block_helpers.c", line 177, in
> PyGSL_PyArray_prepare_gsl_matrix_view
> File "src/init/block_helpers.c", line 216, in PyGSL_PyArray_Check
> gsl_SanityCheckError: sanity check failed - shouldn't happen: The array type
> did not match the spezified one!
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss