Skip to content

Commit

Permalink
Merge pull request #137 from tbeu/patch-f
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
Michael Tiller committed Apr 22, 2014
2 parents cab0a61 + eda8e1a commit 1c57663
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions text/source/behavior/arrays/chem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ enumeration **as a dimension in an array** as follows:

.. code-block:: modelica
Real C[Species] ;
Real C[Species];
Since the ``Species`` type has only three possible values, this means
that the vector ``C`` has exactly three components. We can then refer
to the individual components of ``C`` as ``C[Species.A]``,
``C[Species.B]`` and ``C[Species.C]``.
``C[Species.B]`` and ``C[Species.X]``.

Because it is awkward to constantly prefix each species name with
``Species``, we can define a few convenient constants, we follows:
``Species``, we can define a few convenient constants as follows:

.. code-block:: modelica
Expand Down
2 changes: 1 addition & 1 deletion text/source/behavior/functions/polynomial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ an :math:`NxN` identity matrix.

It turns out that for efficiency reasons, it is better for the
Modelica compiler to give us :math:`\frac{\mathrm{d}x}{\mathrm{d}z}`
and :math:`\frac{\mathrm{d}\vec{c}}{\mathrm{d}z}` than for us to
and :math:`\frac{\mathrm{d}\vec{c}}{\mathrm{d}z}` than to
provide functions to evaluate :math:`\frac{\partial p}{\partial x}`
and :math:`\frac{\partial p}{\partial c_i}`. So, mathematically
speaking, what the Modelica compiler needs is a new function that is
Expand Down

0 comments on commit 1c57663

Please sign in to comment.