Skip to content

Commit e51f4a8

Browse files
authored
Merge pull request #23556 from gaika/master
Typo: should be elseif instead of else
2 parents 55292d6 + c9be80b commit e51f4a8

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
@@ -84,7 +84,7 @@ Standardise the path string `path` to use POSIX separators.
8484
function posixpath end
8585
if Sys.iswindows()
8686
posixpath(path) = replace(path,'\\','/')
87-
else Sys.isunix()
87+
elseif Sys.isunix()
8888
posixpath(path) = path
8989
end
9090

base/sparse/sparsematrix.jl

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

0 commit comments

Comments
 (0)