Skip to content

Commit 21553ec

Browse files
committed
bugfix: xref same dim as x0 to create reference curves not only a single point
1 parent 4d55ff0 commit 21553ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sfs/fd/wfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def point_25d(omega, x0, n0, xs, xref=[0, 0, 0], c=None, omalias=None):
223223
x0 = _util.asarray_of_rows(x0)
224224
n0 = _util.asarray_of_rows(n0)
225225
xs = _util.asarray_1d(xs)
226-
xref = _util.asarray_1d(xref)
226+
xref = _util.asarray_of_rows(xref)
227227
k = _util.wavenumber(omega, c)
228228

229229
ds = x0 - xs

0 commit comments

Comments
 (0)