pybrain/pybrain — Issue #74: IndexError after recurrent network copy
Author: wernight
Created: 2011-11-13 03:23:06+00:00
State: open

Steps:

>>> from pybrain.tools.shortcuts import buildNetwork
>>> net = buildNetwork(2, 4, 1, recurrent=True)
>>> net.activate((1, 1))
...
array([ 0.02202066])
>>> net.copy()
>>> net.activate((1, 1))
...
IndexError: index out of bounds

This seem to be only when `recurrent=True`.