Skip to content

Commit

Permalink
New Typo Corrections - Nov 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Nov 26, 2024
1 parent 9f957ef commit b48bbab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/OnlineDocs/explanation/solvers/persistent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ notify the solver of incremental changes to a Pyomo model. The
persistent solver interfaces create and store model instances from the
Python API for the corresponding solver. For example, the
:class:`GurobiPersistent<pyomo.solvers.plugins.solvers.gurobi_persistent.GurobiPersistent>`
class maintaints a pointer to a gurobipy Model object. Thus, we can
class maintains a pointer to a gurobipy Model object. Thus, we can
make small changes to the model and notify the solver rather than
recreating the entire model using the solver Python API (or rewriting
an entire model file - e.g., an lp file) every time the model is
Expand Down
2 changes: 1 addition & 1 deletion pyomo/common/fileutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ class PathManager(object):
The ``Executable`` singleton uses :py:class:`ExecutableData`, an
extended form of the :py:class:`PathData` class, which provides the
``executable`` property as an alais for :py:meth:`path()` and
``executable`` property as an alias for :py:meth:`path()` and
:py:meth:`set_path()`:
.. doctest::
Expand Down
4 changes: 2 additions & 2 deletions pyomo/contrib/pynumero/sparse/mpi_block_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ def nnz(self):
@property
def owned_blocks(self):
"""
Returns list with inidices of blocks owned by this processor.
Returns list with indices of blocks owned by this processor.
"""
return list(zip(*np.nonzero(self._owned_mask)))

@property
def shared_blocks(self):
"""
Returns list of 2-tuples with inidices of blocks shared by all processors
Returns list of 2-tuples with indices of blocks shared by all processors
"""
return list(zip(*np.nonzero(self._rank_owner < 0)))

Expand Down

0 comments on commit b48bbab

Please sign in to comment.