From d31ecb9db26a862c19e6e3c71b6083002b7ca55d Mon Sep 17 00:00:00 2001 From: Jakub Both Date: Sat, 17 Aug 2024 15:19:50 +0200 Subject: [PATCH] TST: Adapt initialization of Variationl Wasserstein distance after recent changes --- tests/unit/test_variational_wasserstein_distance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_variational_wasserstein_distance.py b/tests/unit/test_variational_wasserstein_distance.py index d328aab5..dfb49836 100644 --- a/tests/unit/test_variational_wasserstein_distance.py +++ b/tests/unit/test_variational_wasserstein_distance.py @@ -31,7 +31,7 @@ } grid = darsia.generate_grid(dst_image_2d) -w1 = darsia.VariationalWassersteinDistance(grid, options) +w1 = darsia.VariationalWassersteinDistance(grid, options=options) flat_flux = np.zeros(grid.num_faces, dtype=float) flat_flux[grid.faces[0]] = 1 flat_flux[grid.faces[1]] = 2