diff --git a/Project.toml b/Project.toml index 36e0e63..e18e7c0 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/StaticArrayInterface.jl b/src/StaticArrayInterface.jl index 0d87e8a..b2fc7d7 100644 --- a/src/StaticArrayInterface.jl +++ b/src/StaticArrayInterface.jl @@ -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}()