mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Impl is_odd for dfg::Scalar
This commit is contained in:
@@ -207,8 +207,8 @@ impl FieldElement {
|
||||
#[test]
|
||||
fn test_conditional_negate() {
|
||||
let one = FieldElement::one();
|
||||
let true_choice = choice(true);
|
||||
let false_choice = choice(false);
|
||||
let true_choice = 1.into();
|
||||
let false_choice = 0.into();
|
||||
|
||||
let mut var = one;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user