Skip to content

Commit 8f01e85

Browse files
committed
fix doctests
1 parent c94ccd8 commit 8f01e85

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

docs/Manifest.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
1111

1212
[[ChainRulesCore]]
1313
deps = ["Compat", "LinearAlgebra", "SparseArrays"]
14-
git-tree-sha1 = "d659e42240c2162300b321f05173cab5cc40a5ba"
14+
git-tree-sha1 = "dbc9aae1227cfddaa9d2552f3ecba5b641f6cce9"
1515
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
16-
version = "0.10.4"
16+
version = "0.10.5"
1717

1818
[[ChainRulesTestUtils]]
1919
deps = ["ChainRulesCore", "Compat", "FiniteDifferences", "LinearAlgebra", "Random", "Test"]
2020
path = ".."
2121
uuid = "cdddcdb0-9152-4a09-a978-84456f9df70a"
22-
version = "0.7.9"
22+
version = "0.7.10"
2323

2424
[[Compat]]
2525
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]

docs/src/index.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ Keep this in mind when testing discontinuous rules for functions like [ReLU](htt
5959
julia> using ChainRulesTestUtils;
6060
6161
julia> test_frule(two2three, 3.33, -7.77);
62-
Test Summary: | Pass Total
63-
test_frule: two2three on Float64,Float64 | 6 6
62+
6463
```
6564

6665
### Testing the `rrule`
@@ -70,8 +69,7 @@ The call will test the `rrule` for function `f` at the point `x`, and similarly
7069

7170
```jldoctest ex; output = false
7271
julia> test_rrule(two2three, 3.33, -7.77);
73-
Test Summary: | Pass Total
74-
test_rrule: two2three on Float64,Float64 | 7 7
72+
7573
```
7674

7775
## Scalar example
@@ -97,12 +95,10 @@ with the `frule` and `rrule` defined with the help of `@scalar_rule` macro
9795
call.
9896
```jldoctest ex; output = false
9997
julia> test_scalar(relu, 0.5);
100-
Test Summary: | Pass Total
101-
test_scalar: relu at 0.5 | 9 9
98+
10299
103100
julia> test_scalar(relu, -0.5);
104-
Test Summary: | Pass Total
105-
test_scalar: relu at -0.5 | 9 9
101+
106102
```
107103

108104
## Testing constructors and functors (callable objects)

0 commit comments

Comments
 (0)