Skip to content

Commit

Permalink
Update source.py
Browse files Browse the repository at this point in the history
fix calling for line source arguments
  • Loading branch information
fs446 committed Sep 4, 2019
1 parent 3453e98 commit b7cdac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfs/fd/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def line_dirichlet_edge(omega, x0, grid, *, alpha=_np.pi*3/2, Nc=None, c=None):

p = p * -1j * _np.pi / alpha

pl = line(omega, x0, None, grid, c=c)
pl = line(omega, x0, grid, c=c)
p[~idxa] = pl[~idxa]

return p
Expand Down

0 comments on commit b7cdac5

Please sign in to comment.