Skip to content

Commit

Permalink
correct param order
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 8, 2024
1 parent 39d3ac2 commit 54d9747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spinn_machine/version/abstract_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def size_from_n_cores(self, n_cores: int) -> Tuple[int, int]:
Designed for use with virtual boards.
Does not include a safety factor for blacklisted boards.
For real machines a slighlty bigger Machine may be needed.
For real machines a slightly bigger Machine may be needed.
:param int n_cores: Number of None Scamp and monitor cores needed
:rtype: (int, int)
Expand Down
2 changes: 1 addition & 1 deletion spinn_machine/virtual_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
version = MachineDataView.get_machine_version()
if n_cores:
width, height = version.size_from_n_cores(n_cores)
version.verify_size(height, width)
version.verify_size(width, height)
max_cores = version.max_cores_per_chip
self._n_router_entries = version.n_router_entries
self._machine = version.create_machine(
Expand Down

0 comments on commit 54d9747

Please sign in to comment.