Skip to content

Commit ad1a7a4

Browse files
authored
no doctests (#51)
* no doctests * Update rule_types.jl
1 parent 48a2e78 commit ad1a7a4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/rule_types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ return that calculated differential value.
1111
1212
For example:
1313
14-
```jldoctest
14+
```
1515
julia> using ChainRulesCore: frule, rrule, AbstractRule
1616
1717
julia> x, y = rand(2);

src/rules.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Examples:
6565
6666
unary input, unary output scalar function:
6767
68-
```jldoctest
68+
```
6969
julia> x = rand();
7070
7171
julia> sinx, dsin = frule(sin, x);
@@ -79,7 +79,7 @@ true
7979
8080
unary input, binary output scalar function:
8181
82-
```jldoctest
82+
```
8383
julia> x = rand();
8484
8585
julia> sincosx, (dsin, dcos) = frule(sincos, x);
@@ -121,7 +121,7 @@ Examples:
121121
122122
unary input, unary output scalar function:
123123
124-
```jldoctest
124+
```
125125
julia> x = rand();
126126
127127
julia> sinx, dx = rrule(sin, x);
@@ -135,7 +135,7 @@ true
135135
136136
binary input, unary output scalar function:
137137
138-
```jldoctest
138+
```
139139
julia> x, y = rand(2);
140140
141141
julia> hypotxy, (dx, dy) = rrule(hypot, x, y);

0 commit comments

Comments
 (0)