From 7d7cffc32d4efd3b7aa68096239c8855a798f054 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:18:46 +0800 Subject: [PATCH] Update tutorial.rst fixed a bug. --- docs/source/tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst index ac148beb..6c33a743 100644 --- a/docs/source/tutorial.rst +++ b/docs/source/tutorial.rst @@ -724,11 +724,11 @@ sample points for both functions: # Integrate the first integrand with the sample points function_values, _ = integrator.evaluate_integrand(integrand1, grid_points) - integral1 = integrator.calculate_result(function_values, dim, n_per_dim, hs) + integral1 = integrator.calculate_result(function_values, dim, n_per_dim, hs, integration_domain) # Integrate the second integrand with the same sample points function_values, _ = integrator.evaluate_integrand(integrand2, grid_points) - integral2 = integrator.calculate_result(function_values, dim, n_per_dim, hs) + integral2 = integrator.calculate_result(function_values, dim, n_per_dim, hs, integration_domain) print(f"Quadrature results: {integral1}, {integral2}")