Skip to content

Commit 1acf618

Browse files
committed
fix typo
1 parent 0dabe3f commit 1acf618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyomo/repn/plugins/nl_writer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ def _linear_presolve(self, comp_by_linear_var, lcon_by_linear_nnz, var_bounds):
17601760
id2_isdiscrete = var_map[id2].domain.isdiscrete()
17611761
if var_map[_id].domain.isdiscrete() ^ id2_isdiscrete:
17621762
# if only one variable is discrete, then we need to
1763-
# substiitute out the other
1763+
# substitute out the other
17641764
if id2_isdiscrete:
17651765
_id, id2 = id2, _id
17661766
coef, coef2 = coef2, coef

0 commit comments

Comments
 (0)