Skip to content

Commit 272497d

Browse files
committed
Addressing review comments
1 parent 0e7cdd2 commit 272497d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pyomo/core/base/constraint.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def lower(self):
286286
"""The lower bound of a constraint expression.
287287
288288
This is the fixed lower bound of a Constraint as a Pyomo
289-
exprression. This may be contain potentially variable terms
289+
expression. This may contain potentially variable terms
290290
that are currently fixed. If there is no lower bound, this will
291291
return `None`.
292292
@@ -307,7 +307,7 @@ def upper(self):
307307
"""Access the upper bound of a constraint expression.
308308
309309
This is the fixed upper bound of a Constraint as a Pyomo
310-
exprression. This may be contain potentially variable terms
310+
expression. This may contain potentially variable terms
311311
that are currently fixed. If there is no upper bound, this will
312312
return `None`.
313313
@@ -772,7 +772,7 @@ def lower(self):
772772
"""The lower bound of a constraint expression.
773773
774774
This is the fixed lower bound of a Constraint as a Pyomo
775-
exprression. This may be contain potentially variable terms
775+
expression. This may contain potentially variable terms
776776
that are currently fixed. If there is no lower bound, this will
777777
return `None`.
778778
@@ -791,7 +791,7 @@ def upper(self):
791791
"""Access the upper bound of a constraint expression.
792792
793793
This is the fixed upper bound of a Constraint as a Pyomo
794-
exprression. This may be contain potentially variable terms
794+
expression. This may contain potentially variable terms
795795
that are currently fixed. If there is no upper bound, this will
796796
return `None`.
797797

pyomo/core/expr/compare.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def assertExpressionsEqual(test, a, b, include_named_exprs=True, places=None):
220220
If True (the default), the comparison expands all named
221221
expressions when generating the prefix notation
222222
223-
places : float
223+
places : int
224224
Number of decimal places required for equality of floating
225225
point numbers in the expression. If None (the default), the
226226
expressions must be exactly equal.
@@ -270,7 +270,7 @@ def assertExpressionsStructurallyEqual(
270270
If True (the default), the comparison expands all named
271271
expressions when generating the prefix notation
272272
273-
places : float
273+
places : int
274274
Number of decimal places required for equality of floating
275275
point numbers in the expression. If None (the default), the
276276
expressions must be exactly equal.

0 commit comments

Comments
 (0)