Changeset 896 for cpp/frams/neuro/impl


Ignore:
Timestamp:
11/30/19 01:30:22 (5 years ago)
Author:
Maciej Komosinski
Message:

Replaced #defined macros for popular random-related operations with functions

File:
1 edited

Legend:

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

    r791 r896  
    7777public:
    7878        NeuroImpl* makeNew() { return new NI_Random(); };
    79         void go() { setState(rnd01*2.0 - 1.0); }
     79        void go() { setState(rndDouble(2) - 1.0); }
    8080};
    8181
Note: See TracChangeset for help on using the changeset viewer.