diff --git a/simso/core/Task.py b/simso/core/Task.py index 922caf4..a23787d 100644 --- a/simso/core/Task.py +++ b/simso/core/Task.py @@ -5,7 +5,7 @@ import numpy as np from simso.core.Job import Job from simso.core.Timer import Timer -from simso.utils.probabilistic_calc import randon_int_from_distr +from simso.utils.probabilistic_calc import random_int_from_distr from .CSDP import CSDP import os @@ -276,7 +276,7 @@ def create_job(self, pred=None): self._job_count += 1 if isinstance(self.wcet, np.ndarray): - wcet_sample = randon_int_from_distr(self.wcet, n_sample=1)[0] # pick random wcet according to their probabilities + wcet_sample = random_int_from_distr(self.wcet, n_sample=1)[0] # pick random wcet according to their probabilities else: wcet_sample = None