Skip to content

Commit

Permalink
Allow 0 boards as useful at times for energy calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Nov 6, 2024
1 parent b80734d commit 1d7aec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinn_machine/version/version_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_idle_energy(
if n_frames != 0:
raise SpinnMachineException(
"A version 3 SpiNNaker 1 board has no frames!")
if n_boards != 1:
if n_boards > 1:
raise SpinnMachineException(
"A version 3 SpiNNaker 1 board has exactly one board!")

Expand Down

0 comments on commit 1d7aec6

Please sign in to comment.