4c9a786e33eeb44aa531e6bbbf9da015e55c1920,scipy/integrate/_ivp/common.py,OdeSolution,__call__,#OdeSolution#Any#,174
Before Change
t_index, sol_index = _find_group_indices(index)
ys = []
for s, i, j in zip(sol_index, t_index[:-1], t_index[1:] ):
y = self.interpolants[s](t_sorted[i: j])
ys.append(y)
After Change
ys = []
group_start = 0
for segment, group in groupby(segments):
group_end = group_start + len(list(group))
y = self.interpolants[segment](t_sorted[group_start:group_end])
ys.append(y)
group_start = group_end
ys = np.hstack(ys)
ys = ys[:, reverse]
return ys
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: scipy/scipy
Commit Name: 4c9a786e33eeb44aa531e6bbbf9da015e55c1920
Time: 2017-04-20
Author: nikolay.mayorov@zoho.com
File Name: scipy/integrate/_ivp/common.py
Class Name: OdeSolution
Method Name: __call__
Project Name: mittagessen/kraken
Commit Name: 6e6c12425a787d8c954ce5c31ceed59cdd531001
Time: 2018-05-20
Author: mittagessen@l.unchti.me
File Name: kraken/lib/ctc_decoder.py
Class Name:
Method Name: greedy_decoder
Project Name: tensorflow/datasets
Commit Name: 547d1bce970b6b671cfab1a41a8dad7f9f79d763
Time: 2020-06-22
Author: khalman@google.com
File Name: tensorflow_datasets/text/reddit_disentanglement.py
Class Name: RedditDisentanglement
Method Name: _generate_examples
Project Name: scipy/scipy
Commit Name: 4c9a786e33eeb44aa531e6bbbf9da015e55c1920
Time: 2017-04-20
Author: nikolay.mayorov@zoho.com
File Name: scipy/integrate/_ivp/common.py
Class Name: OdeSolution
Method Name: __call__