Skip to content

Commit

Permalink
Fix bounds bug in plot_3d_single_patch (#136)
Browse files Browse the repository at this point in the history
This PR applies a one character fix in the function `plot_3d_single_patch`
which would previously calculate the surface at `y=y_max` of the domain
`[x_min, x_max] * [y_min, y_max] * [z_min, z_max]` using `x_max` instead
 of `y_max`.
  • Loading branch information
anlavandier committed Jul 7, 2023
1 parent d7a828a commit c956e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sympde/utilities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def plot_3d_single_patch(patch, mapping, ax, refinement=15):
full_00 = np.full((refinement, refinement), linspace_0[0])
full_01 = np.full((refinement, refinement), linspace_0[-1])
full_10 = np.full((refinement, refinement), linspace_1[0])
full_11 = np.full((refinement, refinement), linspace_0[-1])
full_11 = np.full((refinement, refinement), linspace_1[-1])
full_20 = np.full((refinement, refinement), linspace_2[0])
full_21 = np.full((refinement, refinement), linspace_2[-1])

Expand Down

0 comments on commit c956e48

Please sign in to comment.