Skip to content

Commit

Permalink
Move comments
Browse files Browse the repository at this point in the history
  • Loading branch information
loganbvh committed Mar 5, 2024
1 parent c09cafe commit 776365d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tdgl/finite_volume/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,11 @@ def build_operators(self) -> None:
self.edge_directions = cupy.array(self.edge_directions)
if self.sparse_solver is SparseSolver.CUPY:
assert cupy is not None
# https://github.com/loganbvh/py-tdgl/issues/74
# https://github.com/haasad/PyPardiso/issues/68
self.mu_laplacian = csc_matrix(self.mu_laplacian)
self.mu_laplacian_lu = factorized(self.mu_laplacian)
elif self.sparse_solver is SparseSolver.PARDISO:
# https://github.com/loganbvh/py-tdgl/issues/74
# https://github.com/haasad/PyPardiso/issues/68
self.mu_laplacian = sp.csc_matrix(self.mu_laplacian)

Check warning on line 303 in tdgl/finite_volume/operators.py

View check run for this annotation

Codecov / codecov/patch

tdgl/finite_volume/operators.py#L303

Added line #L303 was not covered by tests
self.mu_laplacian_lu = None
else:
Expand Down

0 comments on commit 776365d

Please sign in to comment.