From 22bc76dcb3943e876b16fe40f7e24dd90aa42828 Mon Sep 17 00:00:00 2001 From: Deniz Donmez Date: Tue, 16 Sep 2025 11:19:13 +0300 Subject: [PATCH] Update numethods/orthogonal.py --- numethods/orthogonal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numethods/orthogonal.py b/numethods/orthogonal.py index 14efcbc..324d70c 100644 --- a/numethods/orthogonal.py +++ b/numethods/orthogonal.py @@ -123,6 +123,6 @@ class LeastSquaresSolver: ] # Take only first n entries Qtb = Vector(Qtb_full[: self.A.n]) - # Extract leading n×n block of R + # Extract leading nxn block of R Rtop = Matrix([R.data[i][: self.A.n] for i in range(self.A.n)]) return backward_substitution(Rtop, Qtb)