Skip to content

Commit

Permalink
Added time back to exported functions
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosorban committed Jun 26, 2024
1 parent 01d77fa commit 3428608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rocketpy/simulation/monte_carlo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,8 @@ def time_function_serializer(function_object, t_range=None, sample_time=None):
t0 = source[0, 0]
tf = source[-1, 0]
t = np.arange(t0, tf, sample_time)
source = func(t)
y = func(t)
source = np.column_stack((t, y))

return source

Expand Down

0 comments on commit 3428608

Please sign in to comment.