Skip to content

Commit

Permalink
Fixed problem with synapse group indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
golosio committed Oct 19, 2020
1 parent 9cabb3f commit c7e24c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spike_buffer.cu
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ int SpikeBufferInit(NetConnection *net_connection, int max_spike_buffer_size)
std::vector<std::vector<unsigned int> > rev_connections(n_spike_buffers);
for (unsigned int i_conn=0; i_conn<n_conn; i_conn++) {
unsigned char syn_group = h_conn_syn_group[i_conn];
if (syn_group==1) { // TEMPORARY, TO BE IMPROVED
if (syn_group>=1) { // TEMPORARY, TO BE IMPROVED
n_rev_conn++;
int target = h_conn_target[i_conn] & PORT_MASK;
rev_connections[target].push_back(i_conn);
Expand Down

0 comments on commit c7e24c5

Please sign in to comment.