Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Bug #3346 double as data
Submitted: 2005-02-01 14:37 UTC
From: georgbez at gmx dot net Assigned: nosey
Status: Closed Package: Image_Graph
PHP Version: 4.3.8 OS: WINXP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 27 - 5 = ?

 
 [2005-02-01 14:37 UTC] georgbez at gmx dot net
Description: ------------ Hi, i have problems with a array of double as data for a graph. Many regards Georg Reproduce code: --------------- http://www.schlosskeller-weissenfels.de/reports/smooth_line.txt Actual result: -------------- Warning: Division by zero in [...]\Image\Graph\Driver\GD.php on line 726

Comments

 [2005-02-02 22:19 UTC] pear dot nosey at veggerby dot dk
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. That is true there is a bug. However as I see it it does not relate to doubles but the driver trying to smooth the graph between two identical points fx (1, 2) and (1, 2). This has now been fixed in CVS.