Skip to content

Commit

Permalink
fixed an issue that made recursive_qs_search incompatible with jasp
Browse files Browse the repository at this point in the history
  • Loading branch information
positr0nium committed Dec 22, 2024
1 parent 739e1c9 commit 3f2315f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qrisp/core/session_merging_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def recursive_qv_search(input):
for key in input.keys():
result += recursive_qv_search(key)
result += recursive_qv_search(input[key])
else:
elif isinstance(input, (tuple, list)):
for i in range(len(input)):
result += recursive_qv_search(input[i])
else:
Expand Down

0 comments on commit 3f2315f

Please sign in to comment.