Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerTaule committed Sep 9, 2024
1 parent 5c0e9db commit 99bbe1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/prove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub struct ProveCmd {
pub proving_key: PathBuf,

/// Output dir path
#[clap(short, long, default_value = "tmp")]
#[clap(short = 'o', long, default_value = "tmp")]
pub output_dir: PathBuf,

#[clap(long, default_value_t = Field::Goldilocks)]
Expand Down
3 changes: 2 additions & 1 deletion hints/src/hints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ pub fn print_by_name<F: Clone + Copy>(

let params = air_instance_ctx.params.unwrap();

let lengths_ptr = lengths.as_ref().map(|lengths| lengths.clone().as_mut_ptr()).unwrap_or(std::ptr::null_mut());
let mut lengths_vec = lengths.unwrap_or(Vec::new());
let lengths_ptr = lengths_vec.as_mut_ptr();

// TODO: CHECK WHAT IS WRONG WITH RETURN VALUES
let _raw_ptr =
Expand Down

0 comments on commit 99bbe1e

Please sign in to comment.