Closed
Description
Dear all,
I found a bug in the connect function in the bdalg.py:
335: elif outp < 0 and -outp >= -sys.outputs:
if outp < 0, the index meant is -outp because the negative sign is to tell it is negative feedback.
(-outp) must be in the range [1, sys.outputs]. As outp < 0, -outp > 0 already. Hence, the remaining thing is that -outp <= sys.outputs. The code must be corrected like this:
335: elif outp < 0 and -outp <= sys.outputs:
Regards.
Seung-Kil