eb99e9feed89bbc815d51be62aa3ed00b035b64a,src/biotite/structure/box.py,,box_volume,#Any#,108

Before Change


            np.cross(
                box[..., 0, :], box[..., 1, :]
            ),
            box[..., 2, :]
        )
    )

After Change


    volume : float or ndarray, shape=(m,)
    
    // Using the triple product
    return np.abs(linalg.det(box))


def repeat_box(atoms, amount=1):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biotite-dev/biotite
Commit Name: eb99e9feed89bbc815d51be62aa3ed00b035b64a
Time: 2018-12-12
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/box.py
Class Name:
Method Name: box_volume


Project Name: pymc-devs/pymc3
Commit Name: 782035bbeeb080b5a33d1aeadb6b3f8e77d2ad75
Time: 2017-07-10
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/tests/test_variational_inference.py
Class Name:
Method Name: test_flow_det


Project Name: scikit-image/scikit-image
Commit Name: 2b83e8e84873a2f5cf81d0a8e848324dee974071
Time: 2020-03-24
Author: danielleholzberger@gmail.com
File Name: skimage/transform/_geometric.py
Class Name: SimilarityTransform
Method Name: scale