u = np.random.random((q.shape[0], p))
v = np.random.random((r.shape[1], p))
u = np.squeeze(u)
v = np.squeeze(v)
if np.iscomplexobj(self.dtype.type(1)):
b = np.random.random(u.shape)
After Change
// super call set the seed...
if p == 1:
u = np.random.random(q.shape[0])
v = np.random.random(r.shape[1])
else:
u = np.random.random((q.shape[0], p))
v = np.random.random((r.shape[1], p))