Skip to content

Commit 17292ff

Browse files
committed
fix
1 parent ed0322f commit 17292ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gradientutils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function call_same_with_inverted_arg_if_active!(
200200
end
201201
elseif is_constant_value(gutils, origops[cmpidx])
202202
postprocess_const(B, res, args)
203-
else
203+
elseif postprocess !== nothing
204204
postprocess(B, res, args)
205205
end
206206

0 commit comments

Comments
 (0)