Skip to content

Commit

Permalink
fix: bad type
Browse files Browse the repository at this point in the history
  • Loading branch information
Teagum committed Jun 26, 2024
1 parent ccca9a5 commit cab33e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apollon/signal/spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __abs__(self) -> FloatArray:
return np.absolute(self._bins)

def __getitem__(self, key: int) -> ComplexArray:
return np.asarray(self._bins[key]).astype(np.complex_)
return np.asarray(self._bins[key]).astype(np.complex128)

def __len__(self) -> int:
return self._bins.shape[0]
Expand Down

0 comments on commit cab33e4

Please sign in to comment.