• Sebastien Robin's avatar
    simulation: fix AdoptSolver when sum of quantities is equal to 0 · ccf7d473
    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.
    ccf7d473
AdoptSolver.py 4.41 KB