Skip to content

Commit be1df82

Browse files
committed
wrap in module; import prime
1 parent 4344987 commit be1df82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/gradcheck.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
module gradcheck_tests
12
# This file contains a selection of tests from Zygote's "gradcheck.jl",
23
# dealing with Base and standard library functions. Many of these use rules
34
# which have their own more exhaustive tests in ChainRules.
@@ -10,6 +11,7 @@
1011
using Test
1112
using ChainRulesCore
1213
using Diffractor
14+
using Diffractor: var"'"
1315
using Distributed: CachingPool, pmap, workers
1416
using FiniteDifferences
1517
using LinearAlgebra
@@ -634,3 +636,5 @@ end
634636
# in typeassert, expected Int64, got a value of type Nothing
635637
@test_broken jacobicheck(-, A, B)
636638
end
639+
640+
end

0 commit comments

Comments
 (0)