-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during call to eministat:x #5
Comments
(I'm at a conference right now, but will look at this later when I get home again. Perhaps this weekend, though no promises). Indeed, this looks like a bug. I've seen something like it before and it has to do with the plotting subsystem not being particularly robust. In the limit it fails to procure the right result. Thank you for the counterexample, which can be turned into a test case for the system. The problem, I think, manifests itself because integers/floating point numbers have an off-by-one bug, situation and suddenly you have calls to |
A little bit of work... Pushed the failing test case into a CT suite so we can start tracking the problem. |
There are two problems. Current master (60cdf60) fixes the plotting bug. Your dataset is extremely consistent with its run-time (everything is 0), so it ends up in a situation where it wants to plot everything in the same location. Since the range is calculated to be from Now, the plotting bug done, we are halfway through. If you re-run the test case, you end up with a bug in
One possible solution is to throw an exception in this case and then handle it by failing. Or fix the code so it can handle inifinities. The situation occurs whenever you have a dataset |
Given the following sample benchmark program, the call to
eministat:x
will cause an error by trying to invokelists:seq/2
with an invalid range. This happens in our own benchmarks, although sometimes by running the benchmark 2-3 times one can get a complete output without errors.Console output:
OS: Debian GNU/Linux Jessie (8.5) Stable
Kernel: Linux 3.16.0
Erlang: 18.3
eministat: d2b7c99
The text was updated successfully, but these errors were encountered: