Skip to content

Commit b329ef1

Browse files
committed
fixup
1 parent f4e300c commit b329ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/train.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ for (trainfn!, name) in ((Flux.train!, "Zygote"), (train_enzyme!, "Enzyme"))
5454
end
5555
@test CNT[] == 51 # stopped early
5656
if name != "Enzyme"
57-
@test m1.weight[1] 0.0 # did not corrupt weights
58-
else
5957
@test m1.weight[1] -5 # did not corrupt weights
58+
else
59+
@test m1.weight[1] 0.0 # did not corrupt weights
6060
end
6161
end
6262

0 commit comments

Comments
 (0)