From: Michael Orlitzky Date: Sun, 4 Oct 2020 02:11:19 +0000 (-0400) Subject: mjo/ldlt.py: fix a dimension in block_ldlt_naive(). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ef48fe2968dc12f454c2fdf9d666aaba1baedd52;p=sage.d.git mjo/ldlt.py: fix a dimension in block_ldlt_naive(). --- 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: