Skip to content

Commit

Permalink
modified: src/solver/restart.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Aug 1, 2024
1 parent 45fbd21 commit 73f4811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/restart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Instantiate for RestartManager {

impl RestartIF for RestartManager {
fn restart(&mut self, lbd: &EmaView, ent: &EmaView) -> bool {
self.penetration_energy -= 0.125 * (lbd.trend() / ent.trend());
self.penetration_energy -= 0.1 * (lbd.trend() / ent.trend());
self.penetration_energy < 0.0
}
fn set_segment_parameters(&mut self, _segment_scale: usize) {
Expand Down

0 comments on commit 73f4811

Please sign in to comment.