Skip to content

Commit

Permalink
Update Task.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimBenAmor authored Dec 18, 2018
1 parent 84302b0 commit a6eedcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simso/core/Task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a6eedcd

Please sign in to comment.