Skip to content

Commit

Permalink
Compute the admissible perturbations correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed Oct 19, 2024
1 parent e445f3d commit af66629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,8 +1210,8 @@ async fn start_control_computation(
.vertices();

let mut admissible_perturbations = pstg.mk_empty_colors();
for _i in 0..=max_size {
let size_perturbations = pstg.create_perturbation_colors(max_size, true);
for i in 0..=max_size {
let size_perturbations = pstg.create_perturbation_colors(i, true);
admissible_perturbations = admissible_perturbations.union(&size_perturbations);
}

Expand Down

0 comments on commit af66629

Please sign in to comment.