Removing score as output from step_join
- Not needed, and 0 is confusing.
- The step functions should return what's natural.
@@ -1186,7 +1186,7 @@ class Chip:
Returns True if the manifest is valid, else returns False.
Examples:
- >>> chip.check_manifest()
+ >>> manifest_ok = chip.check_manifest()
Returns True of the Chip object dictionary checks out.
'''
@@ -1851,7 +1851,7 @@ class Chip:
sel_inputs.append(a+b)
# no score for join, so just return 0
- return 0, sel_inputs
+ return sel_inputs
###########################################################################
def step_minimum(self, *steps):
@@ -2326,7 +2326,7 @@ class Chip:
(score, sel_inputs) = self.step_mux(*inputs, selector=args)
elif func == "step_join":
sel_inputs = self.step_join(*inputs)
- elif func == "step_verify":
+ elif func == "step_assert":
if not self.step_assert(*inputs, assertion=args):
self._haltstep(step, index, active)
else:
