Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests.test_RuLSIF::test_alphadensratio_2d ValueError #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mierzejk
Copy link
Contributor

@mierzejk mierzejk commented Aug 23, 2023

Fixes ValueError in tests.test_RuLSIF::test_alphadensratio_2d by replacing 1d linspace with 2d array as the compute_density_ratio function argument. Code changes basically follow the README multivariate example.
Please note the error is raised when set_compute_kernel_target is set to numba (cpu or parallel targets). For numpy (default if numba is unavailable) the test passes.

Resolves #17 issue.

…ace with 2d array as the compute_density_ratio function argument.
@mierzejk
Copy link
Contributor Author

Please note that all commits covered by this pull request are also included in #23 Aggregated pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests.test_RuLSIF::test_alphadensratio_2d fails
1 participant