Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Krande committed Dec 20, 2024
1 parent 5933daa commit 0bb57c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ada/api/beams/base_bm.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,11 @@ def solid_geom(self) -> Geometry:
off_dir = 0

if self.taper_type == TaperTypes.FLUSH_TOP:
offset_dir_1 = ada.Direction(0, off_dir*self.section.h / 2)
offset_dir_2 = ada.Direction(0, off_dir*self.taper.h / 2)
offset_dir_1 = ada.Direction(0, off_dir * self.section.h / 2)
offset_dir_2 = ada.Direction(0, off_dir * self.taper.h / 2)
elif self.taper_type == TaperTypes.FLUSH_BOTTOM:
offset_dir_1 = ada.Direction(0, -off_dir*self.section.h / 2)
offset_dir_2 = ada.Direction(0, -off_dir*self.taper.h / 2)
offset_dir_1 = ada.Direction(0, -off_dir * self.section.h / 2)
offset_dir_2 = ada.Direction(0, -off_dir * self.taper.h / 2)
else:
raise ValueError(f"Unknown taper type {self.taper_type}")

Expand Down

0 comments on commit 0bb57c1

Please sign in to comment.