Skip to content

Commit

Permalink
fix bug in coil script where forgot that theats array is 1D now, not 2D
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanici committed Aug 23, 2023
1 parent 68bc807 commit 3d292d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ def get_integration_points_and_line_elems(
# here I assume this contour is on the bottom...
# when it could be on top too
thetas = np.linspace(
contour_theta_halfway[i - 1][0],
contour_theta_halfway[i][0],
contour_theta_halfway[i - 1],
contour_theta_halfway[i],
nthetas,
endpoint=False,
)
Expand Down

0 comments on commit 3d292d5

Please sign in to comment.