diff options
author | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2024-07-05 12:15:06 +0200 |
---|---|---|
committer | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2024-07-05 12:15:06 +0200 |
commit | 521e4ee53cc0add0d357d28a35dbed7184026ec2 (patch) | |
tree | 3d68e40d9577f43e3a71a04744a7768176173322 /modeling/model_init.py | |
parent | 89f11b1c74664054aee78de8610344791a0c8c03 (diff) |
find max and min value
Diffstat (limited to 'modeling/model_init.py')
-rw-r--r-- | modeling/model_init.py | 20 |
1 files changed, 10 insertions, 10 deletions
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( |