c425bfa05eb33a35a2d19ce67c8a96b1ec0e0931,brian2/groups/neurongroup.py,NeuronGroup,__init__,#NeuronGroup#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,196

Before Change


        ////////// Setup the memory
        self.arrays = self._allocate_memory(dtype=dtype)

        self._spikespace = np.zeros(N+1, dtype=np.int32)

        // Setup the namespace
        self.namespace = create_namespace(namespace)

After Change


        ////////// Setup the memory
        self.arrays = self._allocate_memory(dtype=dtype)

        self._spikespace = get_device().array(self, "_spikespace", N+1, 1, dtype=np.int32)

        // Setup the namespace
        self.namespace = create_namespace(namespace)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: brian-team/brian2
Commit Name: c425bfa05eb33a35a2d19ce67c8a96b1ec0e0931
Time: 2013-09-03
Author: dan.goodman@ens.fr
File Name: brian2/groups/neurongroup.py
Class Name: NeuronGroup
Method Name: __init__


Project Name: brian-team/brian2
Commit Name: c425bfa05eb33a35a2d19ce67c8a96b1ec0e0931
Time: 2013-09-03
Author: dan.goodman@ens.fr
File Name: brian2/groups/poissongroup.py
Class Name: PoissonGroup
Method Name: __init__


Project Name: brian-team/brian2
Commit Name: c425bfa05eb33a35a2d19ce67c8a96b1ec0e0931
Time: 2013-09-03
Author: dan.goodman@ens.fr
File Name: brian2/monitors/spikemonitor.py
Class Name: SpikeMonitor
Method Name: reinit