Skip to content

Commit

Permalink
Fixed connection dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
JanVogelsang committed Jul 24, 2024
1 parent acca2b5 commit 3d0a0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nestkernel/connector_base_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ Connector< ConnectionT >::dump_connections( std::ostream& connections_out, const
for ( ConnectionT& conn : C_ )
{
Node* target = conn.get_target( tid );
const size_t thread_id = target->get_thread();
const size_t thread_lid = target->get_thread_lid();
const unsigned char thread_id = target->get_thread();
const unsigned int thread_lid = target->get_thread_lid();
connections_out.write( reinterpret_cast< const char* >( &thread_id ), sizeof( thread_id ) );
connections_out.write( reinterpret_cast< const char* >( &thread_lid ), sizeof( thread_lid ) );
}
Expand Down

0 comments on commit 3d0a0ba

Please sign in to comment.