Skip to content

Commit

Permalink
FIX: missing not
Browse files Browse the repository at this point in the history
  • Loading branch information
KatharineShapcott authored Jan 18, 2023
1 parent e6bfe1f commit 992e177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncopy/datatype/discrete_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def data(self, inData):

if inData is not None:
# probably not the most elegant way..
if np.issubdtype(self.data.dtype, np.integer):
if not np.issubdtype(self.data.dtype, np.integer):
raise SPYTypeError(self.data.dtype, 'data', "integer like")

def __str__(self):
Expand Down

0 comments on commit 992e177

Please sign in to comment.