Skip to content

Commit

Permalink
Update nimare/meta/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: James Kent <[email protected]>
  • Loading branch information
adelavega and jdkent authored Jan 9, 2024
1 parent 0308770 commit 8e97c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimare/meta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def compute_kda_ma(
study_values = np.zeros(shape, dtype=np.int32)

if sum_overlap:
sphere_coords = unique_rows(sphere_coords)
study_values[sphere_coords[:, 0], sphere_coords[:, 1], sphere_coords[:, 2]] += value
else:
study_values[sphere_coords[:, 0], sphere_coords[:, 1], sphere_coords[:, 2]] = value

Expand Down

0 comments on commit 8e97c15

Please sign in to comment.