Skip to content

Commit

Permalink
DOC: Add negative to equation in the advection docs
Browse files Browse the repository at this point in the history
This helps make clear that we're returning -u dot del and matches the
implementation.
  • Loading branch information
dopplershift committed Aug 15, 2023
1 parent 6aec11e commit 34fb095
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 34fb095

Please sign in to comment.