From ef953ae1e281362a264eefbff97d805b8adb0ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui-Zhi=20Li=20=28=E6=9D=8E=E7=9D=BF=E6=99=BA=29?= <61745903+Astro-Lee@users.noreply.github.com> Date: Tue, 5 Dec 2023 13:29:29 +0800 Subject: [PATCH] Update tutorial.rst I fixed a bug for tutorial.rst. --- docs/source/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst index ac148beb..97cac14f 100644 --- a/docs/source/tutorial.rst +++ b/docs/source/tutorial.rst @@ -745,7 +745,7 @@ As an example, here we evaluate a similar integrand many times for different val .. code:: ipython3 def parametrized_integrand(x, a, b): - return torch.sqrt(torch.cos(torch.sin((a + b) * x))) + return torch.sqrt(torch.cos(torch.sin((a + b) * x))) a_params = torch.arange(40) b_params = torch.arange(10, 20)