Skip to content

Commit

Permalink
Fix data type and pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
terhorstd committed Nov 22, 2023
1 parent 6e8dfe8 commit 78e589b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nestkernel/event_delivery_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ EventDeliveryManager::deliver_events_( const size_t tid, const std::vector< Spik
{
se.set_offset( it_spike_data.get_offset() );

index lcid = it_spike_data.get_lcid();
size_t lcid = it_spike_data.get_lcid();
se.set_sender_node_id_info( tid, syn_id, lcid );

kernel().connection_manager.send( tid, syn_id, lcid, cm, se ); // TODO: tid, syn_id and lcid are already in se
Expand Down Expand Up @@ -726,7 +726,7 @@ EventDeliveryManager::resize_spike_recv_register_()
it_w_tid = new std::vector< std::vector< std::vector< std::vector< SpikeData > > > >();
}
it_w_tid->resize( num_threads );
for ( auto it_r_tid : it_w_tid )
for ( auto it_r_tid : *it_w_tid )
{
it_r_tid.resize( num_synapse_types );
for ( auto it_syn_id : it_r_tid )
Expand Down

0 comments on commit 78e589b

Please sign in to comment.