040a5b0f6ae8778541898c6e6824a4cdba47f0f8,scipy/optimize/_lsq_dogbox.py,,dogbox,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,101
Before Change
// Where is norm(..., axis=0) in numpy 1.6.2?
J_norm = np.sum(J**2, axis=0)**0.5
with np.errstate(divide="ignore"):
scale = np.minimum(scale, 1 / J_norm)
g = J.T.dot(f)
active_set = on_bound * g < 0
After Change
termination_status = None
while nfev < max_nfev:
if scaling == "jac":
scale = np.maximum(scale, np.sum(J**2, axis=0)**0.5)
g = J.T.dot(f)
active_set = on_bound * g < 0
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: scipy/scipy
Commit Name: 040a5b0f6ae8778541898c6e6824a4cdba47f0f8
Time: 2015-07-28
Author: n59_ru@hotmail.com
File Name: scipy/optimize/_lsq_dogbox.py
Class Name:
Method Name: dogbox
Project Name: mne-tools/mne-python
Commit Name: 717eedd5f9ce22431e40a15c378863de6730d3e8
Time: 2019-03-15
Author: larson.eric.d@gmail.com
File Name: mne/viz/raw.py
Class Name:
Method Name: _update_raw_data
Project Name: open-mmlab/mmcv
Commit Name: 0874642fb075dbe42647ab6779f1cdff17f4b79b
Time: 2020-02-04
Author: innerlee@users.noreply.github.com
File Name: mmcv/image/transforms/geometry.py
Class Name:
Method Name: bbox_clip