Skip to content
Snippets Groups Projects
  • Ben Cumming's avatar
    Fix bug with comparison operator for spikes (#316) · 1a58e003
    Ben Cumming authored
    The less than operator for spikes was not in the nest::mc namespace,
    so it was not being picked up by STL algoriths and containers.
    This patch makes it a friend operator of the `nest::mc::basic_spike`,
    and adds some unit tests to varify that STL algorithms can use
    containers of spikes.
    
    fixes #315.
    1a58e003