From 942ea5544fb8834ebeafcd8d6ff16b3c1fb9faac Mon Sep 17 00:00:00 2001 From: rachelchadwick <33873960+rachelchadwick@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:18:13 -0400 Subject: [PATCH] Fix test --- thewalrus/tests/test_internal_modes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thewalrus/tests/test_internal_modes.py b/thewalrus/tests/test_internal_modes.py index 4517fa1d..3d620a1d 100644 --- a/thewalrus/tests/test_internal_modes.py +++ b/thewalrus/tests/test_internal_modes.py @@ -1364,7 +1364,7 @@ def test_vac_schmidt_modes_gkp(method): big_cov = np.eye(2 * M * K, dtype=np.complex128) big_cov[::K, ::K] = cov - rho_big = density_matrix_single_mode(big_cov, {1: m1, 2: m2}, cutoff=cutoff, method="method") + rho_big = density_matrix_single_mode(big_cov, {1: m1, 2: m2}, cutoff=cutoff, method=method) rho_big /= np.trace(rho_big) assert np.allclose(rho1, rho_big, atol=4e-4)