Skip to content

Commit bc5d517

Browse files
committed
[FIX] bad indentation in the docstring of nadam
1 parent 5c219e7 commit bc5d517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

optax/_src/alias.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def adam(
455455
>>> for _ in range(5):
456456
... grad = jax.grad(f)(params)
457457
... updates, opt_state = solver.update(grad, opt_state, params)
458-
... params = optax.apply_updates(params, updates)
458+
... params = optax.apply_updates(params, updates)
459459
... print('Objective function: {:.2E}'.format(f(params)))
460460
Objective function: 13.947006
461461
Objective function: 13.905494

0 commit comments

Comments
 (0)