Skip to content

Commit

Permalink
Merge pull request #193 from Astro-Lee/patch-1
Browse files Browse the repository at this point in the history
Update tutorial.rst
  • Loading branch information
gomezzz authored Dec 6, 2023
2 parents 7cde0b7 + 7d7cffc commit a4d47db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit a4d47db

Please sign in to comment.