Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed7f009

Browse files
authored
DOCS: Fix typo in time array step size comment
The code uses dt=0.01 as time step but the comment said 0.02
1 parent c4b0dcb commit ed7f009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

galleries/examples/animation/double_pendulum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def derivs(t, state):
5151

5252
return dydx
5353

54-
# create a time array from 0..t_stop sampled at 0.02 second steps
54+
# create a time array from 0..t_stop sampled at 0.01 second steps
5555
dt = 0.01
5656
t = np.arange(0, t_stop, dt)
5757

0 commit comments

Comments
 (0)