Home » Images » Image_Graph » Bug #3346
double as data
Details
| 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) |
Comments
[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
[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.