Skip to content

Commit

Permalink
Try to fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencrtrcap committed Sep 26, 2024
1 parent c44f7b4 commit 47d0454
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qolmat/analysis/holes_characterization.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,10 @@ def test(
return p_value
else:
B = self._build_B(list_proj, n_cols)
U = np.array([item[0] for item in parallel_results])
U_sigma = np.array([item[1] for item in parallel_results])
U_matrix = np.array([np.atleast_1d(item[0]) for item in parallel_results])
U_sigma = np.array([np.atleast_1d(item[1]) for item in parallel_results])
p_values = [
self._compute_partial_p_value(B, U, U_sigma, k)
self._compute_partial_p_value(B, U_matrix, U_sigma, k)
for k in range(n_cols)
]
return p_value, p_values

0 comments on commit 47d0454

Please sign in to comment.