Skip to content

Commit

Permalink
Merge pull request #2988 from electronicvisions/fix_warning
Browse files Browse the repository at this point in the history
Fix misplaced `assert` statement causing a lot of warnings
  • Loading branch information
terhorstd authored Dec 13, 2023
2 parents 85c37cb + cde5f31 commit 61b5d40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nestkernel/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ template < typename targetidentifierT >
SecondaryEvent*
Connection< targetidentifierT >::get_secondary_event()
{
assert( false );
assert( false and "Non-primary connections have to provide get_secondary_event()" );
return nullptr;
}

} // namespace nest
Expand Down

0 comments on commit 61b5d40

Please sign in to comment.