mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Do not fail on unbalanced balance.
The "debts" solver is intelligent enough to do the rounding itself so let's use it :-)
This commit is contained in:
parent
d19bab7260
commit
cc9f75de23
1 changed files with 0 additions and 1 deletions
|
@ -338,7 +338,6 @@ async def compute_payments(request, response, id):
|
|||
balance.append((group_id, amount))
|
||||
|
||||
debiters, crediters = order_balance(balance)
|
||||
check_balance(debiters, crediters)
|
||||
results = reduce_balance(debiters[:], crediters[:])
|
||||
|
||||
results_dict = defaultdict(partial(defaultdict, float))
|
||||
|
|
Loading…
Reference in a new issue