Skip to content

Commit ceddb5c

Browse files
committed
Replace None by empty list in output
1 parent 1cb1418 commit ceddb5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/variational/opvi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def step_function(
365365
if score:
366366
step_fn = compile_pymc([], updates.loss, updates=updates, **fn_kwargs)
367367
else:
368-
step_fn = compile_pymc([], None, updates=updates, **fn_kwargs)
368+
step_fn = compile_pymc([], [], updates=updates, **fn_kwargs)
369369
return step_fn
370370

371371
@aesara.config.change_flags(compute_test_value="off")

0 commit comments

Comments
 (0)