Skip to content

Commit

Permalink
Added small clarification.
Browse files Browse the repository at this point in the history
  • Loading branch information
AGaliciaMartinez committed Dec 28, 2021
1 parent 0d54c3b commit 6f1b65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/data/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def random_numpy_dense(shape):
"""Generate a random numpy dense matrix with the given shape."""
out = np.random.random(shape) + 1j * np.random.random(shape)
return np.asarray(out)
return np.asarray(out) # This ensure the output is an ndarray.


def random_node(shape):
Expand Down

0 comments on commit 6f1b65b

Please sign in to comment.