Skip to content

Commit c62100c

Browse files
7ayushguptamichaelosthege
authored andcommitted
Fix spelling typos in documentation
1 parent 25eaa71 commit c62100c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc3/math.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def invprobit(x):
319319
def expand_packed_triangular(n, packed, lower=True, diagonal_only=False):
320320
r"""Convert a packed triangular matrix into a two dimensional array.
321321
322-
Triangular matrices can be stored with better space efficiancy by
322+
Triangular matrices can be stored with better space efficiency by
323323
storing the non-zero values in a one-dimensional array. We number
324324
the elements by row like this (for lower or upper triangular matrices):
325325
@@ -340,7 +340,7 @@ def expand_packed_triangular(n, packed, lower=True, diagonal_only=False):
340340
If true, return only the diagonal of the matrix.
341341
"""
342342
if packed.ndim != 1:
343-
raise ValueError("Packed triagular is not one dimensional.")
343+
raise ValueError("Packed triangular is not one dimensional.")
344344
if not isinstance(n, int):
345345
raise TypeError("n must be an integer")
346346

0 commit comments

Comments
 (0)