Nengo brain model

Has enyone faced this problem? Please can you help me?

Traceback (most recent call last):
File “c:\users\korisnik\anaconda3\lib\site-packages\nengo_gui\”, line 491, in build
self.sim = backend.Simulator(
File “c:\users\korisnik\anaconda3\lib\site-packages\nengo\”, line 168, in init
opmerge_optimize(self.model, self.dg)
File “c:\users\korisnik\anaconda3\lib\site-packages\nengo\builder\”, line 101, in optimize
last_reduction_rate = float(before - after) / t.duration
ZeroDivisionError: float division by zero

Hi @SMajic, and welcome to the Nengo forums. :grinning:

Without the actual model, it’s a little difficult to tell exactly what is causing this issue. However, I would hazard a guess that this error is being caused by a function in a Nengo.node. Functions that are provided to Nengo.node are evaluated at x=0 when the model is built (i.e., when you make the nengo.Simulator object), so you will need to be careful that the Node’s function does not contain a singularity at that point.