Skip to content

Commit

Permalink
add new find first true dispatch for EllipsisNotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Feb 20, 2023
1 parent 9f7b429 commit 5a314f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "StaticArrayInterface"
uuid = "0d7ed370-da01-4f52-bd93-41d350b8b718"
version = "1.1.0"
version = "1.2.0"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
2 changes: 2 additions & 0 deletions src/StaticArrayInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ abstract type BroadcastAxis end
return nothing
end

_find_first_true(::Tuple{Static.True, Bool}) = 1

"""
IndicesInfo{N}(inds::Tuple) -> IndicesInfo{N}(typeof(inds))
IndicesInfo{N}(T::Type{<:Tuple}) -> IndicesInfo{N,pdims,cdims}()
Expand Down

0 comments on commit 5a314f9

Please sign in to comment.