Skip to content

Commit

Permalink
Move code to improve consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Aug 12, 2024
1 parent 86e9ad1 commit ba2c744
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/fj-core/src/validation/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ impl ValidationConfig {
// positives due to floating-point accuracy issues), we can adjust it.
let identical_max_distance = Scalar::from_f64(5e-14);

let distinct_min_distance = Scalar::from_f64(5e-7); // 0.5 µm

Self {
panic_on_error: false,
tolerance,
distinct_min_distance: Scalar::from_f64(5e-7), // 0.5 µm,
distinct_min_distance,
identical_max_distance,
}
}
Expand Down

0 comments on commit ba2c744

Please sign in to comment.