Skip to content

Commit

Permalink
Solve compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rickb80 committed Oct 27, 2024
1 parent 2d651d9 commit 482e1a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pil2-components/test/simple/rs/src/simple_left.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ where
let buffer = vec![F::zero(); buffer_size as usize];

let air_instance = AirInstance::new(sctx.clone(), SIMPLE_AIRGROUP_ID, SIMPLE_LEFT_AIR_IDS[0], None, buffer);
pctx.air_instance_repo.add_air_instance(air_instance);
let gid = pctx.air_instance_repo.air_instances.read().unwrap().len();
pctx.air_instance_repo.add_air_instance(air_instance, Some(gid));
}
}

Expand Down
3 changes: 2 additions & 1 deletion pil2-components/test/simple/rs/src/simple_right.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ where
let buffer = vec![F::zero(); buffer_size as usize];

let air_instance = AirInstance::new(sctx.clone(), SIMPLE_AIRGROUP_ID, SIMPLE_RIGHT_AIR_IDS[0], None, buffer);
pctx.air_instance_repo.add_air_instance(air_instance);
let gid = pctx.air_instance_repo.air_instances.read().unwrap().len();
pctx.air_instance_repo.add_air_instance(air_instance, Some(gid));
}
}

Expand Down

0 comments on commit 482e1a7

Please sign in to comment.