Revision: 6042 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6042&view=rev Author: efiring Date: 2008年08月18日 20:18:56 +0000 (2008年8月18日) Log Message: ----------- Fix bug introduced in 6033, reported by Jae-Joon Lee Modified Paths: -------------- trunk/matplotlib/src/agg_py_path_iterator.h Modified: trunk/matplotlib/src/agg_py_path_iterator.h =================================================================== --- trunk/matplotlib/src/agg_py_path_iterator.h 2008年08月18日 14:43:13 UTC (rev 6041) +++ trunk/matplotlib/src/agg_py_path_iterator.h 2008年08月18日 20:18:56 UTC (rev 6042) @@ -39,7 +39,7 @@ (codes_obj.ptr(), PyArray_UINT8, 1, 1); if (!m_codes) throw Py::ValueError("Invalid codes array."); - if (PyArray_DIM(m_codes, 0) != PyArray_DIM(m_vertices, 1)) + if (PyArray_DIM(m_codes, 0) != PyArray_DIM(m_vertices, 0)) throw Py::ValueError("Codes array is wrong length"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.