From 35c7a0414a2e3c5e4b7bfadd70af6de18a1b2453 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Tue, 13 Mar 2018 19:04:36 -0500 Subject: [PATCH] CodeBuilder.assign_solved_1: Add a default argument of None to solver_id. solver_id isn't really necessary if there is only one kind of solver expected to be in a DAGCode. --- dagrt/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagrt/language.py b/dagrt/language.py index 150f64b..307d51a 100644 --- a/dagrt/language.py +++ b/dagrt/language.py @@ -1139,7 +1139,7 @@ class CodeBuilder(object): return var(self.fresh_var_name(prefix)) def assign_solved_1(self, assignee, solve_component, expression, guess, - solver_id): + solver_id=None): """Special case of AssignSolved when there is 1 component to solve for.""" self.assign_solved((assignee.name,), (solve_component.name,), (expression,), {"guess": guess}, solver_id) -- GitLab