Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yoni206 committed Jun 6, 2024
1 parent 530212d commit e97fb03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cvc5_pythonic_api/cvc5_pythonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ def And(*args):
"""
if len(args) == 0:
return True
if len(args) == 1:
if len(args) == 1 and type(args[0]) is not list:
return args[0]
return _nary_kind_builder(Kind.AND, *args)

Expand All @@ -1746,7 +1746,7 @@ def Or(*args):
"""
if len(args) == 0:
return False
if len(args) == 1:
if len(args) == 1 and type(args[0]) is not list:
return args[0]
return _nary_kind_builder(Kind.OR, *args)

Expand Down

0 comments on commit e97fb03

Please sign in to comment.