[Kmymoney-devel] [kmymoney4] [Bug 338684] Cleared amount is incorrect for liability accounts

Christian David christian-david at web.de
Wed Sep 24 19:42:09 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=338684

Christian David <christian-david at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
                   |oney/93afc106c9a861349b3fe6 |oney/0d66dc42d97e29cd38bd70
                   |f71f7351f26aab3d92          |6c1b77d4ccb19efb3c

--- Comment #3 from Christian David <christian-david at web.de> ---
Git commit 0d66dc42d97e29cd38bd706c1b77d4ccb19efb3c by Christian Dávid, on
behalf of Cristian Oneț.
Committed on 31/08/2014 at 18:41.
Pushed by christiand into branch 'add-onlinebanking'.

Fix the cleared balance of liability accounts.

The problem was caused by the fact that when refactored, the code
didn't consider the fact that previously the balance was also being
multiplied by factor. Instead of using factor at each step use it
only at the end when the result is returned since it's faster this
way.

M  +3    -4    kmymoney/mymoney/mymoneyfile.cpp

http://commits.kde.org/kmymoney/0d66dc42d97e29cd38bd706c1b77d4ccb19efb3c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list