Skip to content

Commit 3c7575f

Browse files
committed
more updates
1 parent 9dd46c8 commit 3c7575f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/msrDynamics/_msrDynamics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ def _solve_with_trip_conditions(self, times, md_step):
393393
trip_sol = []
394394

395395
# bounds for inteprolation
396-
interp_start = times[0] + np.abs(trip_obj.check_after)
396+
397+
interp_start = times[0] + np.abs(trip_obj.check_after) if trip_obj.check_after else times[0]
397398
interp_end = state[-1].time
398399
if self.trip_info['type'] == 'diff_rel':
399400
# set up new spline for fractional derivative and interpolate

0 commit comments

Comments
 (0)