Skip to content

Commit

Permalink
fix: term type Symbol for stop-on-success (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonfmir committed Apr 11, 2024
1 parent cfd34bb commit c2f77e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions egg-pre-dcp/src/optimization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ impl Analysis<Optimization> for Meta {
term_size = 1;
}
Optimization::Symbol(s) => {
term_type = TermType::Symbol;
best = format!("{}", s).parse().unwrap();
num_vars = 0;
term_size = 0;
Expand Down

0 comments on commit c2f77e4

Please sign in to comment.