From 421cdce102c23a0898f1cedd43e25a3ea7ddbeb4 Mon Sep 17 00:00:00 2001 From: Logan Bishop-Van Horn Date: Wed, 20 Sep 2023 15:12:01 -0700 Subject: [PATCH] Update operators.py --- tdgl/finite_volume/operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdgl/finite_volume/operators.py b/tdgl/finite_volume/operators.py index 7272439..91419af 100644 --- a/tdgl/finite_volume/operators.py +++ b/tdgl/finite_volume/operators.py @@ -353,7 +353,7 @@ def set_link_exponents(self, link_exponents: np.ndarray) -> None: ) if self.sparse_solver is SparseSolver.CUPY: self.psi_gradient = csr_matrix(self.psi_gradient) - self.psi_laplacian = csc_matrix(self.psi_laplacian) + self.psi_laplacian = csr_matrix(self.psi_laplacian) self.gradient_weights = cupy.asarray(self.gradient_weights) self.laplacian_weights = cupy.asarray(self.laplacian_weights) return