BrainDynamicsUSYD / nftsim

C++ library for simulation of multiscale neural field dynamics
Apache License 2.0
30 stars 24 forks source link

Check initialization of variables and use consistent mechanisms #164

Open pausz opened 6 years ago

pausz commented 6 years ago

Member functions Class::init and Class::xinit, where xinit is phinit in the case of Propagator and nuinit in the case of Coupling, use different mechanisms to access the same information (eg, the initial value of the variable).

The mechanisms should be the same and /or have consistent behaviour. Fixing this would avoid issues or difficulties in finding bugs like the ones explained #101, and the one describes as a NOTE in #160.