fix typo in set_schedule

Fix self.Tmin = schedule['tmax'] in set_schedule, probably caused by copy paste.