Skip to content

Commit 65d1e08

Browse files
committed
Fix ccc categories
1 parent 901b3cb commit 65d1e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frites/estimator/est_gcmi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def estimator(x, y, z=None, categories=None):
161161
for n_c, c in enumerate(u_cat):
162162
is_cat = categories == c
163163
if mi_type in ['ccd', 'ccc']:
164-
args = [z[is_cat]]
164+
args = [z[..., is_cat]]
165165
mi[n_c, :] = core_fun(x[..., is_cat], y[..., is_cat],
166166
*args, **kwargs)
167167
else:

0 commit comments

Comments
 (0)