Showing 1 of 3 files from the diff.
Other files ignored by Codecov
cpp/box/Box.h has changed.
freud/_box.pxd has changed.

@@ -15,6 +15,7 @@
Loading
15 15
16 16
from freud.util cimport vec3
17 17
from cpython.object cimport Py_EQ, Py_NE
18 +
from libcpp cimport bool as cpp_bool
18 19
19 20
cimport freud._box
20 21
cimport numpy as np
@@ -513,13 +514,15 @@
Loading
513 514
            const float[:, ::1] l_points = points
514 515
            size_t n_all_points = points.shape[0]
515 516
517 +
        # cropped_mask = freud.util._convert_array(
518 +
        #    np.ones(n_all_points), dtype=np.uint8)
516 519
        cropped_mask = freud.util._convert_array(
517 -
            np.ones(n_all_points), dtype=np.uint8)
518 -
        cdef np.uint8_t[::1] l_cropped_mask = cropped_mask
520 +
            np.ones(n_all_points), dtype=np.bool)
521 +
        cdef cpp_bool[::1] l_cropped_mask = cropped_mask
519 522
520 523
        self.thisptr.crop(
521 524
            <vec3[float]*> &l_points[0, 0], n_all_points,
522 -
            <unsigned char*> &l_cropped_mask[0])
525 +
            <cpp_bool*> &l_cropped_mask[0])
523 526
524 527
        return np.array(l_cropped_mask).astype(np.bool)
525 528
Files Coverage
freud 92.82%
Project Totals (16 files) 92.82%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading