Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 committed Nov 12, 2024
1 parent 85f3bfe commit 7885708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/misc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ viewfirst(x,i) = @view(x[begin:i])


linearidx(x::AbstractVector) = LinearIndices(x)
linearidx(x::AbstractMatrix) = diagind(A, 0, IndexStyle(A))
linearidx(x::AbstractMatrix) = diagind(x, 0, IndexStyle(x))

mid(a,b,c) = max(min(a,b),min(max(a,b),c))

0 comments on commit 7885708

Please sign in to comment.