Skip to content

Commit

Permalink
bugfix: xref same dim as x0 to create reference curves not only a sin…
Browse files Browse the repository at this point in the history
…gle point
  • Loading branch information
fs446 committed Sep 25, 2020
1 parent 4d55ff0 commit 21553ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfs/fd/wfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def point_25d(omega, x0, n0, xs, xref=[0, 0, 0], c=None, omalias=None):
x0 = _util.asarray_of_rows(x0)
n0 = _util.asarray_of_rows(n0)
xs = _util.asarray_1d(xs)
xref = _util.asarray_1d(xref)
xref = _util.asarray_of_rows(xref)
k = _util.wavenumber(omega, c)

ds = x0 - xs
Expand Down

0 comments on commit 21553ec

Please sign in to comment.