Skip to content

Commit cb336b4

Browse files
committed
NFC: update comments
1 parent 8062c7c commit cb336b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyomo/solvers/plugins/solvers/xpress_direct.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def _finalize_xpress_import(xpress, avail):
7676
xpress.rng = xpress.range
7777

7878
#
79-
# Xpress 9.5 (44.1.1) changed the Python fairly significantly. we will map
80-
# between the two APIs based on the version.
79+
# Xpress 9.5 (44.1.1) changed the Python API fairly significantly.
80+
# We will map between the two APIs based on the version.
8181
#
8282
if XpressDirect._version < (44,):
8383

@@ -164,7 +164,7 @@ def _addConstraint(
164164

165165
# Note that as of 9.5, xpress.var raises an exception when
166166
# compared using '==' after it has been removed from the model.
167-
# This can fould up ComponentMaps in the persistent interface,
167+
# This can foul up ComponentMaps in the persistent interface,
168168
# so we will hard-code the `var` as not being hashable (so the
169169
# ComponentMap will use the id() as the key)
170170
ComponentMap.hasher.hashable(xpress.var, False)

0 commit comments

Comments
 (0)