Revision: 5990
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5990&view=rev
Author: efiring
Date: 2008-08-07 18:00:25 +0000 (Thu, 07 Aug 2008)
Log Message:
-----------
Don't check for invalid values in get_path_extents.
It is the path iterator's responsibility to filter them out.
Modified Paths:
--------------
trunk/matplotlib/src/_path.cpp
Modified: trunk/matplotlib/src/_path.cpp
===================================================================
--- trunk/matplotlib/src/_path.cpp 2008-08-07 13:53:12 UTC (rev 5989)
+++ trunk/matplotlib/src/_path.cpp 2008-08-07 18:00:25 UTC (rev 5990)
@@ -280,8 +280,11 @@
{
if ((code & agg::path_cmd_end_poly) == agg::path_cmd_end_poly)
continue;
- if (MPL_notisfinite64(x) || MPL_notisfinite64(y))
+ /* if (MPL_notisfinite64(x) || MPL_notisfinite64(y))
continue;
+ We should not need the above, because the path iterator
+ should already be filtering out invalid values.
+ */
if (x < *x0) *x0 = x;
if (y < *y0) *y0 = y;
if (x > *x1) *x1 = x;
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins