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.
Fixes
ValueError
intests.test_RuLSIF::test_alphadensratio_2d
by replacing 1d linspace with 2d array as thecompute_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 tonumba
(cpu
orparallel
targets). Fornumpy
(default ifnumba
is unavailable) the test passes.Resolves #17 issue.