from .compute_cluster_masks_cy import doaccum

__all__ = ['accumulate_cluster_mask_sum']

def accumulate_cluster_mask_sum(kk, cluster_mask_sum):
    data = kk.data
    doaccum(kk.clusters, data.unmasked, data.unmasked_start, data.unmasked_end,
            data.masks, data.values_start, data.values_end, cluster_mask_sum,
            kk.num_special_clusters)

from .compute_cluster_masks_cy import doaccum

__all__ = ['accumulate_cluster_mask_sum']

def accumulate_cluster_mask_sum(kk, cluster_mask_sum):
    data = kk.data
    doaccum(kk.clusters, data.unmasked, data.unmasked_start, data.unmasked_end,
            data.masks, data.values_start, data.values_end, cluster_mask_sum,
            kk.clusters.dtype.type(kk.num_special_clusters))

Fix for some version of py64 on win64