Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7cdac5

Browse files
committed
Update source.py
fix calling for line source arguments
1 parent 3453e98 commit b7cdac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sfs/fd/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def line_dirichlet_edge(omega, x0, grid, *, alpha=_np.pi*3/2, Nc=None, c=None):
570570

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

573-
pl = line(omega, x0, None, grid, c=c)
573+
pl = line(omega, x0, grid, c=c)
574574
p[~idxa] = pl[~idxa]
575575

576576
return p

0 commit comments

Comments
 (0)