Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit 3987575

Browse files
committed
bug fix: number of args for difference constructor
1 parent 26b8fc1 commit 3987575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyretic/core/language.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def __sub__(self, pol):
181181
:rtype: Difference
182182
"""
183183
if isinstance(pol,Filter):
184-
return difference([self, pol])
184+
return difference(self, pol)
185185
else:
186186
raise TypeError
187187

0 commit comments

Comments
 (0)