From 43383c2411569bfd3e4417a3918cf53f2c9dbe40 Mon Sep 17 00:00:00 2001 From: Jesse Perla Date: Tue, 19 Sep 2023 17:35:48 -0700 Subject: [PATCH] Fix latex display in docs (#2404) --- gpytorch/means/constant_mean_gradgrad.py | 4 ++-- gpytorch/means/linear_mean_grad.py | 2 +- gpytorch/means/linear_mean_gradgrad.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gpytorch/means/constant_mean_gradgrad.py b/gpytorch/means/constant_mean_gradgrad.py index b221f26d9..67658b0ea 100644 --- a/gpytorch/means/constant_mean_gradgrad.py +++ b/gpytorch/means/constant_mean_gradgrad.py @@ -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. diff --git a/gpytorch/means/linear_mean_grad.py b/gpytorch/means/linear_mean_grad.py index df4154513..ae76391c9 100644 --- a/gpytorch/means/linear_mean_grad.py +++ b/gpytorch/means/linear_mean_grad.py @@ -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. diff --git a/gpytorch/means/linear_mean_gradgrad.py b/gpytorch/means/linear_mean_gradgrad.py index 4e57fc0e0..dce8f6167 100644 --- a/gpytorch/means/linear_mean_gradgrad.py +++ b/gpytorch/means/linear_mean_gradgrad.py @@ -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.