• Sebastien Robin's avatar
    simulation: fix AdoptSolver when sum of quantities is equal to 0 · 59177d2f
    Sebastien Robin authored
    When AdoptSolver is called for the property 'quantity' on a list of
    simulation movements having sum([simulation quantities]) equal to 0,
    then the delivery error must be 0.
    
    Before, we were setting as delivery error -quantity of that simulation
    movement, then we still had divergence even after the solver was called.
    59177d2f
testPackingList.py 82.1 KB