From 521e4ee53cc0add0d357d28a35dbed7184026ec2 Mon Sep 17 00:00:00 2001 From: Niclas Dobbertin Date: Fri, 5 Jul 2024 12:15:06 +0200 Subject: find max and min value --- modeling/model_init.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'modeling/model_init.py') diff --git a/modeling/model_init.py b/modeling/model_init.py index a61fc9b..369cb50 100644 --- a/modeling/model_init.py +++ b/modeling/model_init.py @@ -223,16 +223,16 @@ def init(): result=max(i, j), ) ) - # DM.add( - # actr.makechunk( - # f"lesser{i}{j}", - # "math_op", - # op="lesser", - # arg1=i, - # arg2=j, - # result=min(i, j), - # ) - # ) + DM.add( + actr.makechunk( + f"lesser{i}{j}", + "math_op", + op="lesser", + arg1=i, + arg2=j, + result=min(i, j), + ) + ) for i in range(0, 21): for j in range(0, 21): DM.add( -- cgit v1.2.3