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-accessors_modifiers.tmpl

    r31562 r31587  
    1212   
    1313}
    14 
    1514
    1615void {{modelName}}::Parameters_::set (const DictionaryDatum &d)
     
    5453   
    5554{% if hasattr(stateIndexMap,"v") %}
    56    def<double_t>(d, names::V_m, y_[{{attr(stateIndexMap,name)}}]);
     55   def<double_t>(d, names::V_m, y_[{{attr(stateIndexMap,"v")}}]);
    5756
    5857{% endif %}   
    5958   
    6059}
    61 
    6260   
    6361void {{modelName}}::State_::set (const DictionaryDatum &d, const Parameters_&)
     
    7977   
    8078}
    81 
Note: See TracChangeset for help on using the changeset viewer.