Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Corrected some indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
jplab committed Aug 22, 2017
1 parent 2b0fb6d commit f5d47cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4400,11 +4400,11 @@ def volume(self, measure='ambient', engine='auto', **kwds):
if measure == 'induced_rational' and engine not in ['auto', 'latte']:
raise TypeError("The induced rational measure can only be computed with the engine set to `auto` or `latte`")
if engine == 'auto' and measure == 'induced_rational':
engine = 'latte'
engine = 'latte'

if measure == 'ambient':
if self.dim() < self.ambient_dim():
return self.base_ring().zero()
return self.base_ring().zero()
if engine == 'lrs':
return self._volume_lrs(**kwds)
elif engine == 'latte':
Expand Down

0 comments on commit f5d47cf

Please sign in to comment.