Skip to content

Commit

Permalink
Fix latex display in docs (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlperla authored Sep 20, 2023
1 parent 981edd8 commit 43383c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gpytorch/means/constant_mean_gradgrad.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class ConstantMeanGradGrad(Mean):
.. math::
\mu(\mathbf x) &= C \\
\Grad \mu(\mathbf x) &= \mathbf 0 \\
\Grad^2 \mu(\mathbf x) &= \mathbf 0
\nabla \mu(\mathbf x) &= \mathbf 0 \\
\nabla^2 \mu(\mathbf x) &= \mathbf 0
where :math:`C` is a learned constant.
Expand Down
2 changes: 1 addition & 1 deletion gpytorch/means/linear_mean_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LinearMeanGrad(Mean):
.. math::
\mu(\mathbf x) &= \mathbf W \cdot \mathbf x + B \\
\Grad \mu(\mathbf x) &= \mathbf W
\nabla \mu(\mathbf x) &= \mathbf W
where :math:`\mathbf W` and :math:`B` are learned constants.
Expand Down
4 changes: 2 additions & 2 deletions gpytorch/means/linear_mean_gradgrad.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class LinearMeanGradGrad(Mean):
.. math::
\mu(\mathbf x) &= \mathbf W \cdot \mathbf x + B \\
\Grad \mu(\mathbf x) &= \mathbf W \\
\Grad^2 \mu(\mathbf x) &= \mathbf 0 \\
\nabla \mu(\mathbf x) &= \mathbf W \\
\nabla^2 \mu(\mathbf x) &= \mathbf 0 \\
where :math:`\mathbf W` and :math:`B` are learned constants.
Expand Down

0 comments on commit 43383c2

Please sign in to comment.