Skip to content

Commit

Permalink
Merge pull request #73 from SpiNNakerManchester/t_fec
Browse files Browse the repository at this point in the history
Typing for FEC
  • Loading branch information
Christian-B authored Dec 30, 2024
2 parents eb3f99c + 43dfadd commit 1c224e7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions mcmc/mcmc_cholesky_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def get_binary_start_type(self) -> ExecutableType:

@overrides(
AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:

# Reserve and write the parameters region
spec.reserve_memory_region(
Expand Down
4 changes: 2 additions & 2 deletions mcmc/mcmc_coordinator_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ def get_binary_start_type(self) -> ExecutableType:

@overrides(
AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
routing_info = FecDataView.get_routing_infos()

# Reserve and write the parameters region
Expand Down
4 changes: 2 additions & 2 deletions mcmc/mcmc_root_finder_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def get_binary_start_type(self) -> ExecutableType:

@overrides(
AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:

# Reserve and write the parameters region
spec.reserve_memory_region(
Expand Down
4 changes: 2 additions & 2 deletions mcmc/mcmc_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ def get_binary_start_type(self) -> ExecutableType:

@overrides(
AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:

routing_info = FecDataView.get_routing_infos()
# Reserve and write the recording regions
Expand Down

0 comments on commit 1c224e7

Please sign in to comment.