Skip to content

Commit

Permalink
made get_trace_status of TracingNode public
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kappel committed Apr 26, 2017
1 parent 4c9f95d commit 462a6c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/poisson_dbl_exp_neuron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,10 @@ void PoissonDblExpNeuron::handle(nest::SpikeEvent& e)
{
assert(e.get_delay() > 0);

// @todo: We must compute the arrival time of the incoming spike
// explicitly, since it depends on delay and offset within
// the update cycle. The way it is done here works, but
// is clumsy and should be improved.
// We must compute the arrival time of the incoming spike
// explicitly, since it depends on delay and offset within
// the update cycle. The way it is done here works, but
// is clumsy and should be improved.
if (e.get_rport() == 0)
{
B_.exc_spikes_.add_value(e.get_rel_delivery_steps(nest::kernel().simulation_manager.get_slice_origin()),
Expand Down
4 changes: 2 additions & 2 deletions src/tracing_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class TracingNode : public nest::Node
virtual void get_status(DictionaryDatum& d) const;
virtual void set_status(const DictionaryDatum& d);

void get_trace_status(DictionaryDatum& d) const;

/**
* @brief Access the trace of \a id at time step \a step.
*
Expand Down Expand Up @@ -123,8 +125,6 @@ class TracingNode : public nest::Node
traces_[id][steps] = v;
}

virtual void get_trace_status(DictionaryDatum& d) const;

private:
std::vector< CircularBuffer<double> > traces_;
};
Expand Down

0 comments on commit 462a6c6

Please sign in to comment.