Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Oct 30, 2024
1 parent 0e7cdd2 commit 272497d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pyomo/core/base/constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def lower(self):
"""The lower bound of a constraint expression.
This is the fixed lower bound of a Constraint as a Pyomo
exprression. This may be contain potentially variable terms
expression. This may contain potentially variable terms
that are currently fixed. If there is no lower bound, this will
return `None`.
Expand All @@ -307,7 +307,7 @@ def upper(self):
"""Access the upper bound of a constraint expression.
This is the fixed upper bound of a Constraint as a Pyomo
exprression. This may be contain potentially variable terms
expression. This may contain potentially variable terms
that are currently fixed. If there is no upper bound, this will
return `None`.
Expand Down Expand Up @@ -772,7 +772,7 @@ def lower(self):
"""The lower bound of a constraint expression.
This is the fixed lower bound of a Constraint as a Pyomo
exprression. This may be contain potentially variable terms
expression. This may contain potentially variable terms
that are currently fixed. If there is no lower bound, this will
return `None`.
Expand All @@ -791,7 +791,7 @@ def upper(self):
"""Access the upper bound of a constraint expression.
This is the fixed upper bound of a Constraint as a Pyomo
exprression. This may be contain potentially variable terms
expression. This may contain potentially variable terms
that are currently fixed. If there is no upper bound, this will
return `None`.
Expand Down
4 changes: 2 additions & 2 deletions pyomo/core/expr/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def assertExpressionsEqual(test, a, b, include_named_exprs=True, places=None):
If True (the default), the comparison expands all named
expressions when generating the prefix notation
places : float
places : int
Number of decimal places required for equality of floating
point numbers in the expression. If None (the default), the
expressions must be exactly equal.
Expand Down Expand Up @@ -270,7 +270,7 @@ def assertExpressionsStructurallyEqual(
If True (the default), the comparison expands all named
expressions when generating the prefix notation
places : float
places : int
Number of decimal places required for equality of floating
point numbers in the expression. If None (the default), the
expressions must be exactly equal.
Expand Down

0 comments on commit 272497d

Please sign in to comment.