Skip to content

Commit 41cc68f

Browse files
Fix missing newline between text and code block fence in numpy_vs_numba_vs_jax.md
Agent-Logs-Url: https://github.com/QuantEcon/lecture-python-programming.zh-cn/sessions/92cf1688-2d57-44e9-8f1e-f49228181b4f Co-authored-by: HumphreyYang <39026988+HumphreyYang@users.noreply.github.com>
1 parent bf85634 commit 41cc68f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lectures/numpy_vs_numba_vs_jax.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,9 @@ with qe.Timer():
260260

261261
但两者之间也存在一些差异,我们在这里加以强调。
262262

263-
让我们从函数开始,将 `np` 替换为 `jnp` 并添加 `jax.jit````{code-cell} ipython3
263+
让我们从函数开始,将 `np` 替换为 `jnp` 并添加 `jax.jit`
264+
265+
```{code-cell} ipython3
264266
@jax.jit
265267
def f(x, y):
266268
return jnp.cos(x**2 + y**2) / (1 + x**2 + y**2)

0 commit comments

Comments
 (0)