5f5bca8f785b5ee6549952b45188eb5cf696f33d,scipy/linalg/_matfuncs_sqrtm.py,,_sqrtm_triu,#Any#Any#,29
Before Change
T_diag = np.diag(T)
keep_it_real = (not _has_complex_dtype_char(T)) and (np.min(T_diag) >= 0)
if not keep_it_real:
T_diag = T_diag.astype(complex)
R = np.diag(np.sqrt(T_diag))
After Change
T_diag = np.diag(T)
keep_it_real = np.isrealobj(T) and np.min(T_diag) >= 0
if not keep_it_real:
T_diag = T_diag.astype(complex)
R = np.diag(np.sqrt(T_diag))
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances Project Name: scipy/scipy
Commit Name: 5f5bca8f785b5ee6549952b45188eb5cf696f33d
Time: 2013-10-11
Author: argriffi@ncsu.edu
File Name: scipy/linalg/_matfuncs_sqrtm.py
Class Name:
Method Name: _sqrtm_triu
Project Name: scipy/scipy
Commit Name: 5f5bca8f785b5ee6549952b45188eb5cf696f33d
Time: 2013-10-11
Author: argriffi@ncsu.edu
File Name: scipy/linalg/_matfuncs_inv_ssq.py
Class Name:
Method Name: _remainder_matrix_power
Project Name: scipy/scipy
Commit Name: 5f5bca8f785b5ee6549952b45188eb5cf696f33d
Time: 2013-10-11
Author: argriffi@ncsu.edu
File Name: scipy/linalg/_matfuncs_inv_ssq.py
Class Name:
Method Name: logm
Project Name: scipy/scipy
Commit Name: 5f5bca8f785b5ee6549952b45188eb5cf696f33d
Time: 2013-10-11
Author: argriffi@ncsu.edu
File Name: scipy/linalg/_matfuncs_inv_ssq.py
Class Name:
Method Name: _logm_triu
Project Name: scipy/scipy
Commit Name: 5f5bca8f785b5ee6549952b45188eb5cf696f33d
Time: 2013-10-11
Author: argriffi@ncsu.edu
File Name: scipy/linalg/_matfuncs_sqrtm.py
Class Name:
Method Name: sqrtm