From ef48fe2968dc12f454c2fdf9d666aaba1baedd52 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 3 Oct 2020 22:11:19 -0400 Subject: [PATCH] mjo/ldlt.py: fix a dimension in block_ldlt_naive(). --- mjo/ldlt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mjo/ldlt.py b/mjo/ldlt.py index c8483c7..4955d9f 100644 --- a/mjo/ldlt.py +++ b/mjo/ldlt.py @@ -325,7 +325,7 @@ def block_ldlt_naive(A, check_hermitian=False): # The top-left 2x2 submatrix is now our pivot. E = A1[:2,:2] - C = A1[2:n,0] + C = A1[2:n,0:2] B = A1[2:,2:] if B.nrows() == 0: -- 2.44.2