Skip to content

Commit 738ebca

Browse files
committed
Add Compat for allequal
1 parent 914390b commit 738ebca

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Project.toml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ authors = ["MilesCranmer <[email protected]> and contributors"]
44
version = "0.5.0"
55

66
[deps]
7+
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
78
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
89
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
910
Tricks = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
@@ -15,6 +16,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
1516
DynamicQuantitiesUnitfulExt = "Unitful"
1617

1718
[compat]
19+
Compat = "^3.42, 4"
1820
Requires = "1"
1921
Tricks = "0.1"
2022
Unitful = "1"

src/utils.jl

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Tricks: static_fieldnames
22
import LinearAlgebra: norm
3+
import Compat: allequal
34

45
function map_dimensions(f::F, args::AbstractDimensions...) where {F<:Function}
56
dimension_type = promote_type(typeof(args).parameters...)

0 commit comments

Comments
 (0)