f7f9df26c9165a55acac7b26a8a3839e3b4a03e2,nussl/separation/projet.py,Projet,__init__,#Projet#Any#Any#Any#Any#Any#Any#Any#Any#Any#,38

Before Change


        self.num_projections = num_projections
        self.panning_profiles = panning_profiles

        if matrix_datatype not in np.typecodes["AllFloat"]:
            raise ValueError("matrix_datatype must be a float!")

        self.matrix_datatype = matrix_datatype

After Change


        if isinstance(matrix_datatype, str):
            matrix_datatype = np.dtype(matrix_datatype)

        if not np.issubdtype(matrix_datatype, np.float):
            raise ValueError("matrix_datatype must be a float!")

        self.matrix_datatype = matrix_datatype
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: f7f9df26c9165a55acac7b26a8a3839e3b4a03e2
Time: 2018-04-03
Author: ethanmanilow@gmail.com
File Name: nussl/separation/projet.py
Class Name: Projet
Method Name: __init__


Project Name: scipy/scipy
Commit Name: 5e2d9d82fd848aa1913f9cd6823194139c070fb5
Time: 2018-11-06
Author: jor@informatik.uni-kiel.de
File Name: scipy/sparse/construct.py
Class Name:
Method Name: random


Project Name: hyperspy/hyperspy
Commit Name: 5d4b721e09d49fc7d97ecba9e441d117741ce6b9
Time: 2016-07-11
Author: j.caron@fz-juelich.de
File Name: hyperspy/_signals/complex_signal.py
Class Name: ComplexSignal
Method Name: __init__