Skip to content

Commit dc07518

Browse files
authored
Update adams_bashforth.py
1 parent 548777c commit dc07518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/numerical_analysis/adams_bashforth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(
7474
7575
>>> def f(x, y):
7676
... return x
77-
>>> y = AdamsBashforth(f, [0, 0.2, 0.4, 0.6, 0.8], [0, 0, 0.04, 0.128, 0.307], -0.2, 1).step_5()
77+
>>> y = AdamsBashforth(f,[0,0.2,0.4,0.6,0.8],[0,0,0.04,0.128 0.307],-0.2,1).step_5()
7878
Traceback (most recent call last):
7979
...
8080
ValueError: Step size must be positive.

0 commit comments

Comments
 (0)