Skip to content

Commit

Permalink
Update qiskit_dynamics/arraylias/register_functions/to_dense.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Puzzuoli <[email protected]>
  • Loading branch information
to24toro and DanPuzzuoli authored Nov 13, 2023
1 parent c962a34 commit 64cbf56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_dynamics/arraylias/register_functions/to_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def register_todense(alias):
def _(arr):
if arr is None:
return None
return arr
return np.asarray(arr)

@alias.register_function(lib="numpy", path="to_dense")
def _(arr):
Expand Down

0 comments on commit 64cbf56

Please sign in to comment.