Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

type error in - mgcpy.independence_tests.mgc_utils.local_correlation.local_covariance " -expected 'int_t' but got 'long long'" #160

@benfreoa

Description

@benfreoa

mgc function is not working and I can't change the type in "local_correlation.cp37-win_amd64.pyd".

I tried :

mgc = MGC()
mgc_statistic , independence_test_metadata = mgc.test_statistic(X,Y)

and i have this error message :

File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 83, in mgcpy.independence_tests.mgc_utils.local_correlation.local_correlations

File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 138, in mgcpy.independence_tests.mgc_utils.local_correlation.local_correlations

File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 16, in mgcpy.independence_tests.mgc_utils.local_correlation.local_covariance

ValueError: Buffer dtype mismatch, expected 'int_t' but got 'long long'

I use Windows 10 & Python 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions