Pārlūkot izejas kodu

Allow calling neg() in the sigma-rs generated code

Ian Goldberg 7 mēneši atpakaļ
vecāks
revīzija
a9175aa83e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      sigma_compiler_core/src/sigma/codegen.rs

+ 1 - 0
sigma_compiler_core/src/sigma/codegen.rs

@@ -733,6 +733,7 @@ impl<'a> CodeGen<'a> {
                 };
                 use sigma_compiler::rand::{CryptoRng, RngCore};
                 use sigma_compiler::group::ff::PrimeField;
+                use std::ops::Neg;
                 #dump_use
 
                 #group_types