Skip to content

Commit

Permalink
Merge pull request #3153 from dopplershift/fix-advection-eq
Browse files Browse the repository at this point in the history
DOC: Add negative to equation in the advection docs
  • Loading branch information
dcamron authored Aug 18, 2023
2 parents 289bc01 + 34fb095 commit 18118a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metpy/calc/kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ def advection(
-----
This implements the advection of a scalar quantity by wind:
.. math:: \mathbf{u} \cdot \nabla = u \frac{\partial}{\partial x}
+ v \frac{\partial}{\partial y} + w \frac{\partial}{\partial z}
.. math:: -\mathbf{u} \cdot \nabla = -(u \frac{\partial}{\partial x}
+ v \frac{\partial}{\partial y} + w \frac{\partial}{\partial z})
.. versionchanged:: 1.0
Changed signature from ``(scalar, wind, deltas)``
Expand Down

0 comments on commit 18118a0

Please sign in to comment.