Skip to content

Commit

Permalink
chore(search): avoid branching on reifications in forward search.
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed Dec 12, 2023
1 parent 6636e04 commit 151005d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planning/planners/src/search/forward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ fn branching_variables<'a>(ch: &'a ChronicleInstance, model: &'a Model) -> impl
// This can happen when a single variable is used to represent several things such as the start and the end of the chronicle
v == start_ref
}
Some(VarLabel(_, Reification)) => false,
_ => true,
})
.filter(move |&v| {
Expand Down

0 comments on commit 151005d

Please sign in to comment.