Skip to content

Commit 266426b

Browse files
mariomario
authored andcommitted
corrected brackets in get_parameters
1 parent 35036f5 commit 266426b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/python/cni_toolbox/HGR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def get_parameters(self, n_batch = 10000,
182182
if np.size(mask) == 0:
183183
mask = np.ones(self.n_voxels).astype(bool)
184184
idx = np.arange(self.n_voxels)
185-
idx = idx(mask)
185+
idx = idx[mask]
186186
n_msk = sum(mask)
187187

188188
results = {'mu_x': np.zeros(self.n_total),

0 commit comments

Comments
 (0)