Skip to content

Commit

Permalink
AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Jun 12, 2021
1 parent 748a3ed commit d6050f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eelbrain/_data_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -3511,7 +3511,7 @@ def __setitem__(self, key, value):
index = self._array_index(key)
if isinstance(value, NDVar):
value = self._ialign(value, index)
if isinstance(index, np.ndarray) and index.dtype.kind == 'i':
if isinstance(index, np.ndarray) and index.dtype.kind == 'b':
self.x[index] = value.ravel()
else:
self.x[index] = value
Expand Down

0 comments on commit d6050f0

Please sign in to comment.