Skip to content

Commit 9259b73

Browse files
author
KDr2
committed
update comments
1 parent cbcd4e6 commit 9259b73

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/ChainRulesTests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ ReverseDiff.@grad_from_chainrules f_kw(x::ReverseDiff.TrackedArray, args...; k=1
141141
@test results[1] == fill(3, size(inputs[1]))
142142
end
143143

144-
## Mix @grad and @grad_from_chainrules
144+
### Mix @grad and @grad_from_chainrules
145145

146146
h(x) = 10x
147147
h(x::ReverseDiff.TrackedArray) = ReverseDiff.track(h, x)
@@ -160,6 +160,7 @@ end
160160
@test results[1] == fill(38, size(inputs[1])) # 38 = 3 + 5 * 7
161161
end
162162

163+
### Isolated Scope
163164
module IsolatedModuleForTestingScoping
164165
using ChainRulesCore
165166
using ReverseDiff: @grad_from_chainrules
@@ -191,7 +192,7 @@ using ..IsolatedModuleForTestingScoping: f
191192
@test results[1] == fill(3, size(inputs[1]))
192193
end
193194

194-
end # end if SubModule
195+
end # end of SubModule
195196
end # end of IsolatedModuleForTestingScoping
196197

197198
end

0 commit comments

Comments
 (0)