Skip to content

Commit

Permalink
BUG: fix linear interpolation root finding method name in Function class
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Apr 19, 2024
1 parent ac01264 commit 5f2a4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketpy/mathutils/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -3010,7 +3010,7 @@ def find_root_linear_interpolation(x0, x1, y0, y1, y):
--------
>>> from rocketpy import Function
>>> x0, x1, y0, y1, y = 0, 1, 0, 1, 0.5
>>> x = Function.linear_interpolation_root_finding(x0, x1, y0, y1, y)
>>> x = Function.find_root_linear_interpolation(x0, x1, y0, y1, y)
>>> x
0.5
"""
Expand Down

0 comments on commit 5f2a4dc

Please sign in to comment.