Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
neworderofjamie committed Apr 12, 2024
1 parent a4563ce commit 35437b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml_genn/ml_genn/compilers/deep_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
const unsigned int i = gennrand() % num_pre;
// If there's space on this row, add an activation and decrement dormant
if(row_length[i] < row_stride) {
if((row_length[i] + NumActivations[i]) < row_stride) {
NumActivations[i]++;
numRemainingDormant--;
}
Expand Down

0 comments on commit 35437b7

Please sign in to comment.