Skip to content
Snippets Groups Projects
Commit 95260739 authored by PERENNOU Tanguy's avatar PERENNOU Tanguy
Browse files

Let recode_with_coeffs doc test pass

See issue #15
parent 246a6068
No related branches found
No related tags found
1 merge request!184Draft: Doc joss
Pipeline #7650 passed
......@@ -144,9 +144,9 @@ impl<F: PrimeField> Shard<F> {
/// Fr::from(3*0 + 5*3 + 7*5),
/// Fr::from(3*0 + 5*0 + 7*7)]);
/// ```
///
///
/// # Errors
///
///
///
/// - The shards must have have the same `k`, `hash` or `size`, otherwise this
/// function will return a [`KomodoError::IncompatibleShards`] indicating the
......@@ -172,7 +172,7 @@ impl<F: PrimeField> Shard<F> {
/// let coeffs = vec![Fr::from(3), Fr::from(5), Fr::from(7)];
/// let recoded = recode_with_coeffs::<Fr>(&bad_mix_subset, &coeffs);
/// assert_eq!(recoded, None);
/// # // FIXME: assert_eq!(recoded, None);
/// # // FIXME: incompatible shards should be signalled somehow
/// # // assert!(matches!(recoded, Err(KomodoError::IncompatibleShards(_))));
/// # // let err_string = recoded.unwrap_err().to_string();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment