Skip to content

Commit 3e188e8

Browse files
committed
Fix bad merge
1 parent 3d31076 commit 3e188e8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pyomo/core/base/logical_constraint.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,8 @@ def __init__(self, expr=None, component=None):
8787

8888
def __call__(self, exception=NOTSET):
8989
"""Compute the value of the body of this logical constraint."""
90-
<<<<<<< HEAD
91-
return self.expr(exception=exception)
92-
=======
9390
exception = _type_check_exception_arg(self, exception)
94-
if self.body is None:
95-
return None
96-
return self.body(exception=exception)
97-
>>>>>>> main
91+
return self.expr(exception=exception)
9892

9993
#
10094
# Abstract Interface

0 commit comments

Comments
 (0)