Skip to content

Commit c9be80b

Browse files
author
Joe Petviashvili
committed
Typo: should be elseif instead of else
1 parent fc54dc4 commit c9be80b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/libgit2/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Standardise the path string `path` to use POSIX separators.
8181
function posixpath end
8282
if Sys.iswindows()
8383
posixpath(path) = replace(path,'\\','/')
84-
else Sys.isunix()
84+
elseif Sys.isunix()
8585
posixpath(path) = path
8686
end
8787

base/sparse/sparsematrix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,7 @@ function setindex!(A::SparseMatrixCSC{Tv,Ti}, B::SparseMatrixCSC{Tv,Ti}, I::Abst
25692569
elseif !issortedI
25702570
pI = sortperm(I); @inbounds I = I[pI]
25712571
B = B[pI,:]
2572-
else !issortedJ
2572+
elseif !issortedJ
25732573
pJ = sortperm(J); @inbounds J = J[pJ]
25742574
B = B[:, pJ]
25752575
end

0 commit comments

Comments
 (0)