Skip to content

Commit

Permalink
FIX: Use updated variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Aug 27, 2024
1 parent 4db0bb7 commit cae4cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darsia/measure/wasserstein.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ def _compute_face_weight(self, flat_flux: np.ndarray) -> np.ndarray:

# Combine weights**2 / |weight * flux| on faces
face_weights = harm_avg_face_weights**2 / norm_weighted_face_flux
face_weights_inv = 1.0 / face_weights
face_weights_inv = norm_weighted_face_flux / harm_avg_face_weights**2
else:
raise ValueError(f"Mobility mode {self.mobility_mode} not supported.")

Expand Down

0 comments on commit cae4cb5

Please sign in to comment.