src/discrete_gradient.rs

branch
dev
changeset 124
6aa955ad8122
parent 110
a1278320be26
child 133
2b13f8a0c8ba
--- a/src/discrete_gradient.rs	Thu May 01 08:40:33 2025 -0500
+++ b/src/discrete_gradient.rs	Thu May 01 13:06:58 2025 -0500
@@ -392,7 +392,7 @@
 where
     B: Discretisation<F>,
     F: Float + nalgebra::RealField,
-    DVector<F>: Norm<F, L2>,
+    DVector<F>: Norm<L2, F>,
 {
     fn opnorm_bound(&self, _: L2, _: L2) -> DynResult<F> {
         // Fuck nalgebra.
@@ -405,7 +405,7 @@
 where
     B: Discretisation<F>,
     F: Float + nalgebra::RealField,
-    DVector<F>: Norm<F, L2>,
+    DVector<F>: Norm<L2, F>,
 {
     fn opnorm_bound(&self, _: L2, _: L2) -> DynResult<F> {
         // Fuck nalgebra.

mercurial