From 21553ec9a1fbeddc766bd114c2789137123f7c08 Mon Sep 17 00:00:00 2001 From: Frank Schultz Date: Fri, 25 Sep 2020 10:56:47 +0200 Subject: [PATCH] bugfix: xref same dim as x0 to create reference curves not only a single point --- sfs/fd/wfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfs/fd/wfs.py b/sfs/fd/wfs.py index 817b4eb..e134227 100644 --- a/sfs/fd/wfs.py +++ b/sfs/fd/wfs.py @@ -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