Skip to content

Commit afa255a

Browse files
committed
Fix typo
1 parent 5229375 commit afa255a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/LinearAlgebra/src/diagonal.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ end
407407
_has_matching_storage(out::UpperOrUnitUpperTriangular, A::UpperOrUnitUpperTriangular) = true
408408
_has_matching_storage(out::LowerOrUnitLowerTriangular, A::LowerOrUnitLowerTriangular) = true
409409
_has_matching_storage(out, A) = false
410-
function _rowrange_tri_stored(B::UpperOrUpperTriangular, col)
410+
function _rowrange_tri_stored(B::UpperOrUnitUpperTriangular, col)
411411
isunit = B isa UnitUpperTriangular
412412
1:min(col-isunit, size(B,1))
413413
end

0 commit comments

Comments
 (0)