Skip to content

Commit

Permalink
use u32 in libquil too
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Oct 24, 2024
1 parent ff13550 commit 6e2e7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/lib/src/qvm/libquil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl crate::qvm::Client for Client {
let result = libquil_sys::qvm::multishot(
&program,
addresses,
i32::from(request.trials.get()),
request.trials.get(),

Check failure on line 83 in crates/lib/src/qvm/libquil.rs

View workflow job for this annotation

GitHub Actions / Run Checks

mismatched types
request.gate_noise,
request.measurement_noise,
request.rng_seed,
Expand Down Expand Up @@ -147,7 +147,7 @@ impl crate::qvm::Client for Client {
let result = libquil_sys::qvm::multishot_measure(
&program,
qubits.as_slice(),
i32::from(request.trials.get()),
request.trials.get(),

Check failure on line 150 in crates/lib/src/qvm/libquil.rs

View workflow job for this annotation

GitHub Actions / Run Checks

mismatched types
request.rng_seed,
)
.map_err(Error::LibquilSysQvm)?;
Expand Down

0 comments on commit 6e2e7ac

Please sign in to comment.