Skip to content

Commit 3428608

Browse files
committed
Added time back to exported functions
1 parent 01d77fa commit 3428608

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rocketpy/simulation/monte_carlo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,8 @@ def time_function_serializer(function_object, t_range=None, sample_time=None):
15791579
t0 = source[0, 0]
15801580
tf = source[-1, 0]
15811581
t = np.arange(t0, tf, sample_time)
1582-
source = func(t)
1582+
y = func(t)
1583+
source = np.column_stack((t, y))
15831584

15841585
return source
15851586

0 commit comments

Comments
 (0)