Skip to content

Commit f65b656

Browse files
darsnackmcabbott
andauthored
Update test/runtests.jl
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
1 parent e373781 commit f65b656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ end
249249
@test stout[1].state[1] == stin[1].state[1] .+ 1
250250
@test stout[2].state[2] == stin[2].state[2] .+ 1
251251

252-
# error cases for mismatched arguments
252+
# error if only given one derivative
253253
@test_throws MethodError Optimisers.update(stin, psin, dxs)
254254

255255
# first order rules compose

0 commit comments

Comments
 (0)