diff --git a/pybamm/experiments/experiment.py b/pybamm/experiments/experiment.py index b48b9601fa..147c928130 100644 --- a/pybamm/experiments/experiment.py +++ b/pybamm/experiments/experiment.py @@ -231,7 +231,7 @@ def extend_drive_cycle(self, drive_cycle, end_time): # Extend the drive cycle until the drive cycle time # becomes greater than specified end time temp_time.append(np.append(temp_time[i - 1], - temp_time[0] + temp_time[i - 1][-1] + 1)) + temp_time[0] + temp_time[i - 1][-1] + 1)) loop_end_time = temp_time[i][-1] i += 1 time = temp_time[-1]