We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e2958 commit 48378d5Copy full SHA for 48378d5
rocketpy/mathutils/function.py
@@ -3171,7 +3171,7 @@ def savetxt(
3171
)
3172
# Generate the data points using the callable
3173
x = np.linspace(lower, upper, samples)
3174
- data_points = np.column_stack((x, self.source(x)))
+ data_points = np.column_stack((x, self.get_value_opt(x)))
3175
else:
3176
# If the source is already an array, use it as is
3177
data_points = self.source
0 commit comments