Skip to content

Commit 37ad83e

Browse files
committed
missing xp
1 parent a0cf7ba commit 37ad83e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/aspire/basis/ffb_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def expand_radial_vec(self, radial_vec, force_diag=False):
368368
wts = wts.reshape(1, n_k, 1)
369369
for ell in range(0, self.ell_max + 1):
370370
k_max = self.k_max[ell]
371-
basis_vals = np.zeros((n_k, k_max), dtype=self.dtype)
371+
basis_vals = xp.zeros((n_k, k_max), dtype=self.dtype)
372372
ind_radial = np.sum(self.k_max[0:ell])
373373
basis_vals[:, 0:k_max] = xp.asarray(
374374
radial[ind_radial : ind_radial + k_max]

0 commit comments

Comments
 (0)