625784c31f592f3b760b53faa0c2f31b57be238a,torchdiffeq/_impl/odeint.py,,odeint,#,28

Before Change



    if options is None:
        options = {}
    elif method is None:
        raise ValueError("cannot supply `options` without specifying `method`")
    if method is None:
        method = "dopri5"
    if method not in SOLVERS:
        raise ValueError("Invalid method "{}". Must be one of {}".format(

After Change


                                                                                   options, SOLVERS)

    if _shapes is not None:
        assert shapes is None, "internal error"
    else:
        _shapes = shapes

    solver = SOLVERS[method](func=func, y0=y0, rtol=rtol, atol=atol, _shapes=_shapes, **options)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: rtqichen/torchdiffeq
Commit Name: 625784c31f592f3b760b53faa0c2f31b57be238a
Time: 2020-07-30
Author: 33688385+patrick-kidger@users.noreply.github.com
File Name: torchdiffeq/_impl/odeint.py
Class Name:
Method Name: odeint


Project Name: scikit-optimize/scikit-optimize
Commit Name: 6f012195df3e03677379b4b3f48a0eacd1208437
Time: 2017-06-06
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_parallel_cl.py
Class Name:
Method Name: test_all_points_different


Project Name: scikit-optimize/scikit-optimize
Commit Name: 6f012195df3e03677379b4b3f48a0eacd1208437
Time: 2017-06-06
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_parallel_cl.py
Class Name:
Method Name: test_same_set_of_points_ask