Skip to content

Commit 9e9902c

Browse files
authored
Merge pull request #3988 from blnicho/fix-typos
Fix new typos identified in latest typos release
2 parents 1c7cda3 + 80fd263 commit 9e9902c

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

pyomo/common/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class CtypesEnviron:
393393
`os.environ` reflects the current python environment variables, and
394394
will be passed to subprocesses. However, it does not reflect the C
395395
Runtime Library (MSVCRT) environment on Windows platforms. This can
396-
be problemmatic as DLLs loaded through the CTYPES interface will see
396+
be problematic as DLLs loaded through the CTYPES interface will see
397397
the MSVCRT environment and not os.environ. This class provides a
398398
way to manage environment variables and pass changes to both
399399
os.environ and the MSVCRT runtime.

pyomo/contrib/pynumero/sparse/block_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def copy(self, deep=True):
761761

762762
def copy_structure(self):
763763
"""
764-
Makes a copy of the structure of this BlockMatrix. This proivides a
764+
Makes a copy of the structure of this BlockMatrix. This provides a
765765
light-weighted copy of each block in this BlockMatrix. The blocks in the
766766
resulting matrix have the same shape as in the original matrices but not
767767
the same number of nonzeros.

pyomo/contrib/pynumero/sparse/mpi_block_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def copy(self):
571571

572572
def copy_structure(self):
573573
"""
574-
Makes a copy of the structure of this MPIBlockMatrix. This proivides a
574+
Makes a copy of the structure of this MPIBlockMatrix. This provides a
575575
light-weighted copy of each block in this MPIBlockMatrix. The blocks in the
576576
resulting matrix have the same shape as in the original matrices but not
577577
the same number of nonzeros.

pyomo/core/base/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def reconstruct(self, data=None):
516516
517517
Re-constructing model components was fragile and did not
518518
correctly update instances of the component used in other
519-
components or contexts (this was particularly problemmatic for
519+
components or contexts (this was particularly problematic for
520520
Var, Param, and Set). Users who wish to reproduce the old
521521
behavior of reconstruct(), are comfortable manipulating
522522
non-public interfaces, and who take the time to verify that the

pyomo/core/base/set.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def _get_discrete_interval(self):
714714
# randomly removing elements from the list; however, since we
715715
# do it by enumerating over ranges, using set() would make this
716716
# routine nondeterministic. Not a huge issue for the result,
717-
# but problemmatic for code coverage.
717+
# but problematic for code coverage.
718718
ranges = list(self.ranges())
719719
if len(ranges) == 1:
720720
try:
@@ -808,7 +808,7 @@ def _get_continuous_interval(self):
808808
# randomly removing elements from the list; however, since we
809809
# do it by enumerating over ranges, using set() would make this
810810
# routine nondeterministic. Not a hoge issue for the result,
811-
# but problemmatic for code coverage.
811+
# but problematic for code coverage.
812812
#
813813
# Note: We do not need to trap non-NumericRange objects:
814814
# RangeProduct and AnyRange will be caught by the dimen test in

0 commit comments

Comments
 (0)