Skip to content

Commit 367fd35

Browse files
committed
fix project mistype
1 parent 1e5489a commit 367fd35

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ Distances = "0.10"
2020
KeywordCalls = "0.2"
2121
RecipesBase = "1"
2222
SpecialFunctions = "0.10, 1"
23-
StableRNGs = "1"
2423
StaticArrays = "0.12, 1"
2524
julia = "1.5"

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1010
ChainRulesCore = "1"
1111
ChainRulesTestUtils = "1"
1212
RecipesBase = "1"
13+
StableRNGs = "1"
1314
StaticArrays = "0.12, 1"

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ end
9797
@testset "gradients" begin
9898
psf_iso = Gaussian(fwhm=10)
9999
psf_tang = Tangent{Gaussian}(fwhm=rand(rng), pos=rand(rng, 2), amp=rand(rng), indices=ZeroTangent())
100+
point = [1, 2]
101+
test_frule(psf_iso psf_tang, point)
102+
test_rrule(psf_iso psf_tang, point)
103+
104+
psf_diag = Gaussian(fwhm=[10, 8])
105+
psf_tang = Tangent{Gaussian}(fwhm=rand(rng, 2), pos=rand(rng, 2), amp=rand(rng), indices=ZeroTangent())
106+
test_frule(psf_diag psf_tang, point)
107+
test_rrule(psf_diag psf_tang, point)
100108
end
101109
end
102110

0 commit comments

Comments
 (0)