Skip to content

Commit fcda8f3

Browse files
committed
Improve comment
1 parent 25984b3 commit fcda8f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nestkernel/connector_base.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,8 @@ class Connector : public ConnectorBase
398398
e.set_port( lcid + lcid_offset );
399399
if ( not conn.is_disabled() )
400400
{
401-
// Some synapses, e.g., bernoulli_synapse, may not send an event after all
401+
// Some synapses, e.g., bernoulli_synapse, may not send an event after all.
402+
// Short circuiting will call send_weight_event() only if conn.send() actually sent the event.
402403
conn.send( e, tid, cp ) and send_weight_event( tid, lcid + lcid_offset, e, cp );
403404
}
404405
if ( not conn.source_has_more_targets() )

0 commit comments

Comments
 (0)