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.
2 parents 94e2958 + 48378d5 commit ffcb1efCopy full SHA for ffcb1ef
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