Skip to content

Commit 1e5751e

Browse files
CompatHelper: bump compat for "Distances" to "0.10" (#186)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: David Widmann <[email protected]>
1 parent 6266056 commit 1e5751e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Project.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name = "KernelFunctions"
22
uuid = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
3-
version = "0.8.6"
4-
3+
version = "0.8.7"
54

65
[deps]
76
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
@@ -19,7 +18,7 @@ ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444"
1918

2019
[compat]
2120
Compat = "2.2, 3"
22-
Distances = "0.9.1"
21+
Distances = "0.9.1, 0.10"
2322
Functors = "0.1"
2423
Requires = "1.0.1"
2524
SpecialFunctions = "0.8, 0.9, 0.10"

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
1515

1616
[compat]
1717
AxisArrays = "0.4.3"
18-
Distances = "0.9"
18+
Distances = "0.9, 0.10"
1919
FiniteDifferences = "0.10.8, 0.11"
2020
Flux = "0.10, 0.11"
2121
ForwardDiff = "0.10"

test/basekernels/maha.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
M1, M2 = rand(rng,3,2), rand(rng,3,2)
2121

22-
function FiniteDifferences.to_vec(dist::SqMahalanobis{Float64})
22+
function FiniteDifferences.to_vec(dist::SqMahalanobis)
2323
return vec(dist.qmat), x -> SqMahalanobis(reshape(x, size(dist.qmat)...))
2424
end
2525
a = rand()

0 commit comments

Comments
 (0)