Grammatica - Bugs: bug #7998, Possible divide by zero when...
You are not allowed to post comments on this tracker with your current authentication level.
bug #7998: Possible divide by zero when running --profile
Submitter: | Per Cederberg <cederberg> | ||
Submitted: | Thu 04 Mar 2004 09:05:05 AM UTC | ||
Severity: | 2 - Normal | Item Group: | Software |
Status: | Fixed | Assigned to: | cederberg |
Open/Closed: | Closed |
Discussion locked!
Sat 14 Mar 2009 09:34:51 AM UTC, comment #3: |
Per Cederberg <cederberg>![]() ![]() |
Wed 24 Mar 2004 08:11:13 PM UTC, comment #2: This has been resolved by always adding 1 millisecond to the time measured. The fix has been pushed to CVS and will appear in the next release (probably 1.5). |
Per Cederberg <cederberg>![]() ![]() |
Wed 24 Mar 2004 07:43:55 PM UTC, comment #1: Also reported on the mailing list by Stefan Ukena. |
Per Cederberg <cederberg>![]() ![]() |
Thu 04 Mar 2004 09:05:05 AM UTC, original submission:
In some cases, for very short inputs, the --profile counts zero (0) milliseconds of execution time. This in turn will cause a divide by zero error when attempting to calculate the average parsing speed.
|
Per Cederberg <cederberg>![]() ![]() |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Version 1.5 was released on 2009-03-07. Closing this issue.