Skip to content

Commit

Permalink
Update operators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
loganbvh committed Sep 20, 2023
1 parent ac9aad7 commit 421cdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdgl/finite_volume/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 421cdce

Please sign in to comment.