Skip to content

Commit 5a314f9

Browse files
add new find first true dispatch for EllipsisNotation
1 parent 9f7b429 commit 5a314f9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "StaticArrayInterface"
22
uuid = "0d7ed370-da01-4f52-bd93-41d350b8b718"
3-
version = "1.1.0"
3+
version = "1.2.0"
44

55
[deps]
66
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/StaticArrayInterface.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ abstract type BroadcastAxis end
102102
return nothing
103103
end
104104

105+
_find_first_true(::Tuple{Static.True, Bool}) = 1
106+
105107
"""
106108
IndicesInfo{N}(inds::Tuple) -> IndicesInfo{N}(typeof(inds))
107109
IndicesInfo{N}(T::Type{<:Tuple}) -> IndicesInfo{N,pdims,cdims}()

0 commit comments

Comments
 (0)