# cv2.linearPolar() TypeError

I am trying to convert concentric circles into straight lines using linear polar:

```
circleArr = np.ndarray((512,512), dtype = np.float32)
for i in range(10,600,10):
cv2.circle(circleArr, (256,256), i-10, np.random.randint(60,500), thickness = 4)
lp = np.ndarray((512,512), dtype=np.float32)
img1 = cv2.linearPolar(circleArr, lp, (256,256), 100, cv2.INTER_LINEAR+cv2.WARP_FILL_OUTLIERS)
```

I get the following error referring to the last line:

**TypeError: a float is required**

I am confused because both the input and output array in the linearPolar() function are float type

Opencv3 and python 3.5.1

I tried making it float, but still getting the same error