diff --git a/src/utils/utils.jl b/src/utils/utils.jl index 3a71e65..7f04ba7 100644 --- a/src/utils/utils.jl +++ b/src/utils/utils.jl @@ -666,6 +666,19 @@ end ##### Error checking ##### +checkshape( + ::Type{Bool}, + ::Tuple{}, + ::Tuple{} +) = true + +checkshape( + ::Tuple{}, + ::Tuple{}, + ::NTuple{2, Union{Symbol, AbstractString}} = (:a, :b) +) = nothing + + function checkshape( ::Type{Bool}, a::NTuple{Na, Integer},