Ignore:
Timestamp:
01/19/18 19:37:43 (7 years ago)
Author:
Maciej Komosinski
Message:
  • Changed Model::singleStepBuild() to Model::addFromString() to create model elements; the latter requires explicit indication of element type (P/J/N/C)
  • Removed old compatibility source (#ifdef MODEL_V1_COMPATIBLE) from f1->f0 converter and neuron definitions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/impl/neuroimpl-simple.cpp

    r286 r726  
    1212int NI_StdNeuron::lateinit()
    1313{
    14 #ifdef MODEL_V1_COMPATIBLE
    15 if (inertia<0) inertia=neuro->inertia;
    16 if (force<0) force=neuro->force;
    17 if (sigmo>1e9) sigmo=neuro->sigmo;
    18 #endif
    1914istate=newstate+neuro->state; // neuro->state -> random initialization
    2015calcOutput();
Note: See TracChangeset for help on using the changeset viewer.