diff options
author | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2024-07-26 10:01:31 +0200 |
---|---|---|
committer | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2024-07-26 10:01:31 +0200 |
commit | 3fba69ca12dc01157c66383d3bd77ee28828bc04 (patch) | |
tree | 90b003dc4c5cba462536af70092c1f396b1d31ff | |
parent | 3cb857f94b964d7107eda03efc0c6454748a5716 (diff) |
impr loop
-rw-r--r-- | modeling/productions_math.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modeling/productions_math.py b/modeling/productions_math.py index 9ab11a9..7ac1257 100644 --- a/modeling/productions_math.py +++ b/modeling/productions_math.py @@ -47,12 +47,14 @@ def wait_input(): def add_proc(goal, proc): - input() + # input() goal.add(actr.makechunk("", "math_goal", proc=proc, ones_carry="hello")) def start(): - while True: + loop = True + while loop: + loop = False # op, arg1, arg2 = wait_input() Model, DM, goal, imaginal, env = init() # add_goal(goal, op, arg1, arg2) |