From 8f07a0ac470f923116ff3e3bcb5efff9e3ec55e4 Mon Sep 17 00:00:00 2001 From: MateusStano <69485049+MateusStano@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:15:41 -0300 Subject: [PATCH] Update rocketpy/mathutils/function.py Co-authored-by: Giovani Hidalgo Ceotto --- 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 159723f2e..9e030e0b5 100644 --- a/rocketpy/mathutils/function.py +++ b/rocketpy/mathutils/function.py @@ -136,7 +136,7 @@ def set_source(self, source): source : function, scalar, ndarray, string, or Function The data source to be used for the function: - - Python function: Called for evaluation with input values. + - Callable: Called for evaluation with input values. Must have the desired inputs as arguments and return a single output value. Input order is important. Example: Python functions, classes, and methods. - int or float: Treated as a constant value function.