Skip to content

Commit efcd15c

Browse files
author
miner
committed
modified: docs/arrow_functions.html
1 parent b3d86b5 commit efcd15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/arrow_functions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h2>User Defined Function</h2>
3434
a = -2
3535
b = 1
3636
c = 9
37-
solver.add_function((x) => f(x, a, b, c)) //Add the first equation to the solver.
37+
solver.addFunction((x) => f(x, a, b, c)) //Add the first equation to the solver.
3838
x_guess = [1] //Guess the initial values of the solution.
3939
s = await solver.solve(x_guess) //Solve the equation
4040
x = s.x //assign the calculated solution array to the variable x

0 commit comments

Comments
 (0)