We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fcf576 commit 9fea1bfCopy full SHA for 9fea1bf
spectral/io/spyfile.py
@@ -196,7 +196,7 @@ def load(self, **kwargs):
196
for k in list(kwargs.keys()):
197
if k not in ('dtype', 'scale'):
198
raise ValueError('Invalid keyword %s.' % str(k))
199
- ctypes = [np.dtype(f'complex{b}').name for b in (64, 128, 256)]
+ ctypes = [np.dtype('complex{}'.format(b)).name for b in (64, 128, 256)]
200
if 'dtype' in kwargs:
201
dtype = kwargs['dtype']
202
elif np.dtype(self.dtype).name in ctypes:
0 commit comments