Closed
Description
This crashes my python kernel:
$ python
Python 3.4.1 (default, Aug 24 2014, 21:32:40)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> from numpy.fft import fft2
>>> size = 256
>>> t = np.linspace(start=0, stop=50*np.pi, endpoint=False, num=size)
>>> x,y = np.meshgrid(t, t)
>>> img = (127 + 127*np.sin(x)).astype(np.uint8)
>>> F = fft2(img)
>>> F_min = F.min()
>>> F = F.clip(F_min) # this crashes python
Segmentation fault: 11
Metadata
Metadata
Assignees
Labels
No labels