bf88d86823461be7a9b4837f56171d87aa3d2d8d,spynnaker/pyNN/models/neuron/implementations/struct.py,Struct,numpy_dtype,#Struct#,49

Before Change


        :rtype: ~numpy.dtype
        
        return numpy.dtype(
            [("f" + str(i), numpy.dtype(data_type.struct_encoding))
             for i, data_type in enumerate(self.field_types)],
            align=True)

After Change


        :rtype: ~numpy.dtype
        
        return numpy.dtype(
            [(_key(i), numpy.dtype(data_type.struct_encoding))
             for i, data_type in enumerate(self.field_types)],
            align=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bf88d86823461be7a9b4837f56171d87aa3d2d8d
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/implementations/struct.py
Class Name: Struct
Method Name: numpy_dtype


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: aead350a3a89aa229b75b5f712c06203d313a48b
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/implementations/struct.py
Class Name: Struct
Method Name: read_data


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: aead350a3a89aa229b75b5f712c06203d313a48b
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/implementations/struct.py
Class Name: Struct
Method Name: numpy_dtype


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bf88d86823461be7a9b4837f56171d87aa3d2d8d
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/implementations/struct.py
Class Name: Struct
Method Name: read_data