Skip to content

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