Skip to content

Commit

Permalink
use into_bigint() in Debug for Fp<P, N> (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim Schneider authored Dec 27, 2022
1 parent b770f67 commit 1d5e9ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ff/src/fields/models/fp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ impl<P: FpConfig<N>, const N: usize> Fp<P, N> {
}
}

impl<P, const N: usize> ark_std::fmt::Debug for Fp<P, N> {
impl<P: FpConfig<N>, const N: usize> ark_std::fmt::Debug for Fp<P, N> {
fn fmt(&self, f: &mut Formatter<'_>) -> ark_std::fmt::Result {
ark_std::fmt::Debug::fmt(&self.0, f)
ark_std::fmt::Debug::fmt(&self.into_bigint(), f)
}
}

Expand Down

0 comments on commit 1d5e9ed

Please sign in to comment.