Skip to content

Commit

Permalink
fixing lef related compile issues at layout21 level
Browse files Browse the repository at this point in the history
  • Loading branch information
nanobowers committed Jul 22, 2024
1 parent 98503ed commit d85cce3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layout21raw/src/lef.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl<'lib> LefExporter<'lib> {
.iter()
.map(|p| self.export_point(p))
.collect::<Result<Vec<_>, _>>()?;
lef21::LefShape::Polygon(points)
lef21::LefShape::Polygon(None, points)
}
Shape::Path { .. } => {
unimplemented!("LefExporter::PATH");
Expand Down Expand Up @@ -380,8 +380,8 @@ impl LefImporter {
use lef21::LefShape::{Path, Polygon, Rect};
match lefshape {
Rect(_, ref p0, ref p1) => self.import_rect((p0, p1)),
Polygon(ref pts) => self.import_polygon(pts),
Path(ref pts) => self.import_path(pts, layer),
Polygon(_, ref pts) => self.import_polygon(pts),
Path(_, ref pts) => self.import_path(pts, layer),
}
}
/// Import a [Shape::Poly]
Expand Down

0 comments on commit d85cce3

Please sign in to comment.