Skip to content

Commit

Permalink
Resolving the type ignore issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alonkukl committed Nov 8, 2024
1 parent a66f777 commit b49b729
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qfactorjax/qfactor_sample_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,10 @@ def safe_call_jited_vmaped_state_sample_sweep(
training_states_kets,
)

# TODO: Fix the typing ignore here
results = tuple(
jnp.concatenate((results1[i], results2[i]))
for i in range(5)
) # type: ignore
)

return results

Expand Down

0 comments on commit b49b729

Please sign in to comment.