brainpy/examples

I found a subtle bug in CANN tutorial

Closed this issue · 1 comments

Hi! I found a bug in CANN tutorial that module bp is miswritten as op both in .py (line 75) and .ipynb (line 64) files. i.e.

self.integral = op.odeint(self.derivative)

should be

self.integral = bp.odeint(self.derivative)

Dear @ztqakita , we have fixed this bug. The new version of CANN example please see https://brainpy-examples.readthedocs.io/en/latest/cann/Wu_2008_CANN.html

Thanks for your report!