dsn: don't divide widths and clearances by 100

This commit is contained in:
Mikolaj Wielgus 2024-06-08 23:07:28 +02:00
parent 7a02877eb4
commit e5829d929a
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ pub struct DsnRule {
impl DsnRule {
fn from_dsn(rule: &super::structure::Rule) -> Self {
Self {
width: rule.width as f64 / 100.0,
clearance: rule.clearance_vec[0].value as f64 / 100.0, // picks the generic clearance only for now
width: rule.width as f64,
clearance: rule.clearance_vec[0].value as f64, // picks the generic clearance only for now
}
}
}