From 2dce67f2f1716be98dc5111d46dbfb74550653e0 Mon Sep 17 00:00:00 2001 From: Jakob Roth <roth@mpa-garching.mpg.de> Date: Mon, 3 Mar 2025 15:40:48 +0100 Subject: [PATCH] evi: use vdot instead of deprecated dot --- src/re/evi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/re/evi.py b/src/re/evi.py index 7aad01450..cf084c69c 100644 --- a/src/re/evi.py +++ b/src/re/evi.py @@ -23,7 +23,6 @@ from .misc import conditional_raise from .tree_math import ( Vector, assert_arithmetics, - dot, get_map, random_like, stack, @@ -163,7 +162,7 @@ def nonlinearly_update_residual( t = tree_map(jnp.subtract, lh.transformation(x), lh_trafo_at_p) g = x - e_liquid + lh.left_sqrt_metric(e_liquid, t) r = ms_at_p - g - res = 0.5 * dot(r, r) + res = 0.5 * vdot(r, r) r = conj(r) ngrad = r + lh.left_sqrt_metric(x, lh.right_sqrt_metric(e_liquid, r)) -- GitLab