Revision: 6042
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6042&view=rev
Author:   efiring
Date:     2008-08-18 20:18:56 +0000 (Mon, 18 Aug 2008)

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.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to