Ignore:
Timestamp:
10/05/14 05:49:16 (6 years ago)
Author:
Ivan Raikov
Message:

nemo: bug fixes in NEST templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/nemo/trunk/templates/NEST-cvode-event.tmpl

    r31482 r31587  
    1919  state = &(node.S_);
    2020
    21 {% if (haskey(stateIndexMap,"v") and haskey(defaults,"V_t") %}     
     21{% if ((haskey(stateIndexMap,"v") and ("V_t" in defaultDefs)) %}     
    2222  v = Ith (y, {{attr(stateIndexMap,"v")}});
    23   vt = params->{{attr(defaults,"V_t")}};
     23  vt = params->V_t;
    2424  g[0] = v - vt;
    2525{% else %}
Note: See TracChangeset for help on using the changeset viewer.