Skip to content

Commit 818448b

Browse files
committed
Fix typo
1 parent 907b783 commit 818448b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/cholesky_decomposition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def cholesky_decomposition(A: np.ndarray) -> np.ndarray:
6666

6767
def solve_cholesky(L: np.ndarray, Y: np.ndarray) -> np.ndarray:
6868
"""Given a Cholesky decomposition L L^T = A of a matrix A, solve the
69-
system of equations A X = Y where B is either a matrix or a vector.
69+
system of equations A X = Y where Y is either a matrix or a vector.
7070
7171
>>> L = np.array([[2, 0], [3, 4]], dtype=float)
7272
>>> Y = np.array([[22, 54], [81, 193]], dtype=float)

0 commit comments

Comments
 (0)