Yuri Chornoivan <> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
      Latest Commit|                            |
                   |                            |lot/2b63a01634fc1653ead0ec9
                   |                            |caeae4ed89fc95165
             Status|REPORTED                    |RESOLVED

--- Comment #3 from Yuri Chornoivan <> ---
Git commit 2b63a01634fc1653ead0ec9caeae4ed89fc95165 by Yuri Chornoivan.
Committed on 15/01/2020 at 18:59.
Pushed by yurchor into branch 'master'.

Keep cumulated error negligible for rapidly increasing functions

The current scheme violates Runge-Kutta condition on error O(h^4) when dy is
too high. This leads to visible shifting and discontinuities on the plots of
integrals for e^x^2, e^abs(x), etc.

Test Plan:
1. Compile and install KmPlot.
2. Create the Cartesian plot "f(x) = e^x^2".
3. Switch to the "Integral" tab and tick the "Show integral" item.
4. Try to change the scale (Ctrl+mouse wheel). The integral curve should be
plotted as expected (no discontinuities, no extra lines on Ox).

f(x)=e^x^2 and its integral

Before the patch:
After the patch:

Reviewers: #kde_edu

Subscribers: aacid, cfeck, kde-edu

Tags: #kde_edu

Differential Revision:

M  +3    -2    kmplot/xparser.cpp

You are receiving this mail because:
You are watching all bug changes.

Reply via email to