Commit e47b4315 authored by olau@iola.dk's avatar olau@iola.dk

Fix bug in infinity handling


git-svn-id: https://flot.googlecode.com/svn/trunk@316 1e0a6537-2640-0410-bfb7-f154510ff394
parent fbe4273b
...@@ -630,7 +630,7 @@ ...@@ -630,7 +630,7 @@
for (m = 0; m < ps; ++m) { for (m = 0; m < ps; ++m) {
val = points[j + m]; val = points[j + m];
f = format[m]; f = format[m];
if (!f) if (!f || val == fakeInfinity || val == -fakeInfinity)
continue; continue;
if (f.x) { if (f.x) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment