From ad4d7a393764d6b2797c3c30e43df5e899753cdf Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Thu, 23 Mar 2023 02:52:25 -0700 Subject: [PATCH] Fix Flake8 error "E741 ambiguous variable name 'O" --- pycid/examples/story_macids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycid/examples/story_macids.py b/pycid/examples/story_macids.py index 22f8c17..58ef548 100644 --- a/pycid/examples/story_macids.py +++ b/pycid/examples/story_macids.py @@ -259,7 +259,7 @@ def robot_warehouse() -> MACID: B=lambda D1: noisy_copy(D1, probability=0.3, domain=[0, 1]), R=lambda B, D2: int(not B or D2), O=lambda D2: noisy_copy(D2, probability=0.6, domain=[0, 1]), - U1=lambda Q, B, O: int(Q and not O) - int(B), + U1=lambda Q, B, O_: int(Q and not O_) - int(B), U2=lambda R: R, ) return macid