Skip to content

Commit

Permalink
add flat=False to process step by step
Browse files Browse the repository at this point in the history
  • Loading branch information
noskill committed Nov 1, 2023
1 parent 92d136a commit 0fea41e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/hyperon/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ def run_step_by_step(self, program, flat=False):
yield state, results
while not state.is_complete():
state.run_step()
<<<<<<< HEAD
results = state.current_results(flat=flat)
=======
results = state.current_results()
>>>>>>> 96465f9 (add flat=False to process step by step)
yield state, results


Expand Down Expand Up @@ -249,4 +253,4 @@ def custom_env(working_dir = None, config_dir = None, disable_config = False, is
hp.env_builder_set_is_test(True)
for path in reversed(include_paths):
hp.env_builder_add_include_path(builder, path)
return builder
return builder

0 comments on commit 0fea41e

Please sign in to comment.