We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Compat
allequal
1 parent 914390b commit 738ebcaCopy full SHA for 738ebca
Project.toml
@@ -4,6 +4,7 @@ authors = ["MilesCranmer <[email protected]> and contributors"]
4
version = "0.5.0"
5
6
[deps]
7
+Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
8
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
9
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
10
Tricks = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
@@ -15,6 +16,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
15
16
DynamicQuantitiesUnitfulExt = "Unitful"
17
18
[compat]
19
+Compat = "^3.42, 4"
20
Requires = "1"
21
Tricks = "0.1"
22
Unitful = "1"
src/utils.jl
@@ -1,5 +1,6 @@
1
import Tricks: static_fieldnames
2
import LinearAlgebra: norm
3
+import Compat: allequal
function map_dimensions(f::F, args::AbstractDimensions...) where {F<:Function}
dimension_type = promote_type(typeof(args).parameters...)
0 commit comments