Skip to content

Commit 21b2caa

Browse files
committed
minor bugfix
1 parent b90e94d commit 21b2caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/chapter1/forward_euler_fun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def f(t, u):
2929

3030
U0 = 1
3131
T = 4
32-
N in 20
32+
N = 20
3333
t, u = forward_euler(f, U0, T, N)
3434
plt.plot(t, u, label=f'$\\Delta t$ = {T/N}')
3535
plt.plot(t, np.exp(t), label='Exact')

0 commit comments

Comments
 (0)