We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
product
prod
1 parent 4f1e334 commit c4249f4Copy full SHA for c4249f4
1 file changed
discretize/tests.py
@@ -845,8 +845,8 @@ def random(size, iscomplex):
845
return out
846
847
# Create random vectors u and v.
848
- u = random(np.product(shape_u), complex_u).reshape(shape_u)
849
- v = random(np.product(shape_v), complex_v).reshape(shape_v)
+ u = random(np.prod(shape_u), complex_u).reshape(shape_u)
+ v = random(np.prod(shape_v), complex_v).reshape(shape_v)
850
851
# Carry out dot product test.
852
fwd_u = forward(u)
0 commit comments