Skip to content

Commit

Permalink
Fix Flake8 error "E741 ambiguous variable name 'O"
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-RR authored Mar 23, 2023
1 parent 18370a1 commit 3e8ab9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycid/examples/story_macids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e8ab9c

Please sign in to comment.