Skip to content

Commit

Permalink
remove incorrect check
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Sep 12, 2023
1 parent 2e67d5e commit 63fdb19
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,6 @@ def __config_values(clocks_per_cycle: int) -> Tuple[
__check_at_most_one(
"time_between_cores", time_between_cores,
"clock_cycles_betwen_cores", clocks_between_cores)
if (time_between_cores is None and clocks_between_cores is None):
raise ConfigurationException(
"Either one of time_between_cores and clocks_between_cores"
" must be specified or else app_machine_quantity must be"
" specified")
if time_between_cores is not None:
if clocks_between_cores is None:
clocks_between_cores = int(time_between_cores * CLOCKS_PER_US)
Expand Down

0 comments on commit 63fdb19

Please sign in to comment.