Skip to content

Commit

Permalink
fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjj committed Jun 9, 2020
1 parent 307701c commit d3ccf0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notebooks/How_JAX_primitives_work.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@
" if not ad.is_undefined_primal(x):\n",
" # This use of multiply_add is with a constant \"x\"\n",
" assert ad.is_undefined_primal(y)\n",
" ct_y = ad.Zero(y.aval) if type(ct) is ad.Zero else multiply_add_prim(x, ct, lax.zeros_like_array(x))
" ct_y = ad.Zero(y.aval) if type(ct) is ad.Zero else multiply_add_prim(x, ct, lax.zeros_like_array(x))\n",
" res = None, ct_y, ct\n",
" else:\n",
" # This use of multiply_add is with a constant \"y\"\n",
Expand Down

0 comments on commit d3ccf0a

Please sign in to comment.