Hi Gustavo,
It is a bit hard to understand the error with just these logs. Would you be able to share the .nestml file and a zip of the generated code (target directory) so that it is easier to analyse the error?
Thanks, Pooja
On 5. May 2023, at 22:20, Gustavo Patow gustavo.patow@udg.edu wrote:
Dear Pooka,
Well, I tried this before, and I got a compilation error. Basically, I wrote:
SS' = (-SS/tau + S_jump/N * spikes) /s #remove the units (seconds)
input: spikes real <- spike
Then, I got the error with message:
/tmp/nestml-component/izhikevich_ODE.cpp:315:124: error: ‘SPIKES’ was not declared in this scope 315 | f[State_::SS] = (-0.001) * ode_state[State_::SS] / node.P_.tau + 0.001 * node.P_.S_jump * node.B_.spike_inputs_grid_sum_[SPIKES - MIN_SPIKE_RECEPTOR] / node.P_.N; | ^~~~~~ /tmp/nestml-component/izhikevich_ODE.cpp:315:133: error: ‘MIN_SPIKE_RECEPTOR’ was not declared in this scope 315 | f[State_::SS] = (-0.001) * ode_state[State_::SS] / node.P_.tau + 0.001 * node.P_.S_jump * node.B_.spike_inputs_grid_sum_[SPIKES - MIN_SPIKE_RECEPTOR] / node.P_.N; | ^~~~~~~~~~~~~~~~~~
Any ideas?
THANKS!!!
gus.-
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org