Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I'm posting this to the mailing list first because I'm not sure I've
fixed this correctly. This is a patch for a bug in ticker.py.
In Autolocator.get_locator, if the distance passed in is 0, the call to
log10 will crash with an overflow error. I think I'm hitting this
problem because I plot a lot of binary data, and the first plot when
this happened, consisted of all zeros (giving the y axis no distance - I
could be talking complete nonsense, I haven't really examined the
code). What I'm not sure about is, in the case that distance is 0,
should the variable ld be set to 0 (as I have done in the attached
patch), or is another value more sensible?
From: John Hunter <jdhunter@ac...> - 2004-04-22 13:16:30
>>>>> "David" == David Moore <davidm@...> writes:
David> Hi, I'm posting this to the mailing list first because I'm
David> not sure I've fixed this correctly. This is a patch for a
David> bug in ticker.py.
Another user told me about this one offlist and the fix is in CVS. My
approach was to revert to what we were doing before (which somehow got
lost in translation) which is to set the view lim to be plus/minus 1
the constant value.
Thanks for the patch, anyhow!