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 18, 2023
1 parent 318e035 commit d33fbfc
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 @@ -311,8 +311,8 @@ def set_link_exponents(self, link_exponents: np.ndarray) -> None:
weights=self.laplacian_weights,
)
n_samples = len(self.link_exponents)
self.psi_laplacian_offsets = get_offsets(
self.psi_laplacian,
self.psi_gradient_offsets = get_offsets(
self.psi_gradient,
self.gradient_link_rows,
self.gradient_link_cols,
n_samples,
Expand Down

0 comments on commit d33fbfc

Please sign in to comment.