Commit 7e5ad7fe authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Cédric Le Ninivin

AcceptSolver: decision value is already the result of multiplication of ratio

parent 02dd6e9a
...@@ -62,9 +62,6 @@ class AcceptSolver(ConfigurablePropertySolverMixin): ...@@ -62,9 +62,6 @@ class AcceptSolver(ConfigurablePropertySolverMixin):
divergence.getProperty('tester_relative_url')).getSolverList()): divergence.getProperty('tester_relative_url')).getSolverList()):
continue continue
new_value = divergence.getProperty('decision_value') new_value = divergence.getProperty('decision_value')
# XXX hard coded
if solved_property == 'quantity':
new_value *= simulation_movement.getDeliveryRatio()
value_dict[solved_property] = new_value value_dict[solved_property] = new_value
self._updateSimulationMovement(simulation_movement, value_dict, self._updateSimulationMovement(simulation_movement, value_dict,
activate_kw) activate_kw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment