Make numpy-1.18 happy - should anyway be fixed

parent ba134882
Pipeline #106586433 passed with stage
in 3 minutes and 28 seconds
......@@ -101,7 +101,7 @@ class CSCG:
# Multivector dot product, a^T b, where ^T is transpose
def multi_zdotu(s, x,y, nvec):
for i in range(nvec):
s[i] = x[i].ravel(float).dot(y[i].ravel(float))
s[i] = x[i].ravel().dot(y[i].ravel())
# s[i] = dotu(x[i],y[i])
self.gd.comm.sum(s)
return s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment