[Biopython-dev] [Bug 2251] [PATCH] NumPy support for BioPython

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sat Mar 31 22:52:46 UTC 2007


http://bugzilla.open-bio.org/show_bug.cgi?id=2251





------- Comment #5 from mdehoon at ims.u-tokyo.ac.jp  2007-03-31 18:52 EST -------
In proposed change to py_kcluster in this patch, using npy_generic_dimension_t
for nrows, ncolumns will cause a bug.

Depending on the platform, npy_genetic_dimension_t may not be an int. But the
function kcluster, which is called from py_kcluster, expects nrows, ncolumns to
be an int. If, for example, npy_genetic_dimension_t is an 8-byte long, nrows
will be truncated to a 4-byte int in the call to kcluster. So kcluster may get
an incorrect number for nrows, ncolumns.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list