Skip to content

Commit

Permalink
Fix error in energy example.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Dec 21, 2022
1 parent 6b31d5d commit c479085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_energy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def multivariate_normal(n_obs, delta):
for n_obs in n_obs_list:
n_errors = 0
for _ in range(n_tests):
x = multivariate_normal(n_obs, delta)
x = multivariate_normal(n_obs, 0)
y = multivariate_normal(n_obs, delta)

test_result = dcor.homogeneity.energy_test(
Expand Down

0 comments on commit c479085

Please sign in to comment.