Comment 4 for bug 159066

Revision history for this message
Maxime DOYEN (mdoyen) wrote : Re: car cost fail

Ok, I have checked allof that.
The problem seem to be that I compute results individually for each line which can be wrong when there is some break in full refuel.
On the screenshot you will see on the right (green) a cumulative computing that fix the problem in both way:
- partial refuel after full (wrong 42.46l)
- and full after partial (wrong 0.59l)

The fixed dist, fuel, etc... will not be displayed, just computed for displaying the right results for consumption.
Tell me what you think about that way to fix the problem.