Skip to content

Commit

Permalink
Dimensions should not be divided by 2
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartboogert committed Aug 5, 2024
1 parent e109245 commit d380566
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyg4ometry/geant4/solid/EllipticalTube.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def mesh(self):

luval = _Units.unit(self.lunit)

pDx = self.evaluateParameter(self.pDx) * luval / 2.0
pDy = self.evaluateParameter(self.pDy) * luval / 2.0
pDz = self.evaluateParameter(self.pDz) * luval / 2.0
pDx = self.evaluateParameter(self.pDx) * luval
pDy = self.evaluateParameter(self.pDy) * luval
pDz = self.evaluateParameter(self.pDz) * luval

_log.info("ellipticaltube.pycsgmesh>")

Expand Down

0 comments on commit d380566

Please sign in to comment.