From 5f2a4dc23a39ac42e5418a5c89ec9d5648aa8ac7 Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 18 Apr 2024 21:15:40 -0400 Subject: [PATCH] BUG: fix linear interpolation root finding method name in Function class --- rocketpy/mathutils/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocketpy/mathutils/function.py b/rocketpy/mathutils/function.py index 8f96d49c5..3207b3142 100644 --- a/rocketpy/mathutils/function.py +++ b/rocketpy/mathutils/function.py @@ -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 """