Skip to content
Snippets Groups Projects
Commit 1a58e003 authored by Ben Cumming's avatar Ben Cumming Committed by kabicm
Browse files

Fix bug with comparison operator for spikes (#316)

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.
parent dc83ff16
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment