c371508327c77c08ece4e6e4fda2676128b56af6,scipy/linalg/basic.py,,solve_triangular,#Any#Any#Any#Any#Any#Any#Any#Any#,103
Before Change
if check_finite:
a1, b1 = map(np.asarray_chkfinite,(a,b))
else:
a1, b1 = map(np.asarray, (a,b))
if len(a1.shape) != 2 or a1.shape[0] != a1.shape[1]:
raise ValueError("expected square matrix")
if a1.shape[0] != b1.shape[0]:
raise ValueError("incompatible dimensions")
After Change
.. versionadded:: 0.9.0
a1 = _asarray_validated(a, check_finite=check_finite)
b1 = _asarray_validated(b, check_finite=check_finite)
if len(a1.shape) != 2 or a1.shape[0] != a1.shape[1]:
raise ValueError("expected square matrix")
if a1.shape[0] != b1.shape[0]:
raise ValueError("incompatible dimensions")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 15
Instances
Project Name: scipy/scipy
Commit Name: c371508327c77c08ece4e6e4fda2676128b56af6
Time: 2014-09-15
Author: argriffi@ncsu.edu
File Name: scipy/linalg/basic.py
Class Name:
Method Name: solve_triangular
Project Name: scipy/scipy
Commit Name: c371508327c77c08ece4e6e4fda2676128b56af6
Time: 2014-09-15
Author: argriffi@ncsu.edu
File Name: scipy/linalg/basic.py
Class Name:
Method Name: solve_banded
Project Name: scipy/scipy
Commit Name: c371508327c77c08ece4e6e4fda2676128b56af6
Time: 2014-09-15
Author: argriffi@ncsu.edu
File Name: scipy/linalg/basic.py
Class Name:
Method Name: solve_triangular
Project Name: scipy/scipy
Commit Name: c371508327c77c08ece4e6e4fda2676128b56af6
Time: 2014-09-15
Author: argriffi@ncsu.edu
File Name: scipy/linalg/basic.py
Class Name:
Method Name: solve
Project Name: scipy/scipy
Commit Name: c371508327c77c08ece4e6e4fda2676128b56af6
Time: 2014-09-15
Author: argriffi@ncsu.edu
File Name: scipy/linalg/basic.py
Class Name:
Method Name: lstsq