i have a MRF with several generators. Most of them are RegionFitness but some are XYFitness to detect wether there is an AP in the simulation. The simulation is running perfectly, but i cant save the XYFitness generators to a session file. Well, saving works, but when i load the session i get this error:
Code: Select all
>nrniv: Arg out of range in user function
in fit_testxy.ses near line 24
{tobj = new RegionFitness()}
^
Vector[366].resize(-59.8438)
RegionFitness[20].rfile(File[6])
FitnessGenerator[21].rfile(File[5], File[6], " FitnessGe...")
ParmFitness[0].rfile(File[5], File[6])
and others
for every generator
- Select-Copy x,y subsets
- Fitness-Change Method to-RegionFitness
- Regions-Paste Weights
then i save it and can load it successully
(after loading i have to the same workaround back copying the weights to XY subsets)
is this a known bug or is it because of errors in my own code?
Thanks!