davidepatti / noxim

Network on Chip Simulator
218 stars 118 forks source link

Fix hotspot percentage check #138

Closed t-bre closed 2 years ago

t-bre commented 2 years ago

Noticed that adding hotspots on the command line with invalid percentages outside [0, 1] won't throw an error as it should. Changed an && to an || in the configuration checks to fix this.

davidepatti commented 2 years ago

thank you for the fix