From 3fba69ca12dc01157c66383d3bd77ee28828bc04 Mon Sep 17 00:00:00 2001 From: Niclas Dobbertin Date: Fri, 26 Jul 2024 10:01:31 +0200 Subject: impr loop --- modeling/productions_math.py | 6 ++++-- 1 file 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) -- cgit v1.2.3