Skip to content

Commit

Permalink
default stretching c=1
Browse files Browse the repository at this point in the history
just sugar... since we most frequently run Cone.tip_of_stretched_cone(self, c=1) and since other stretchings are equivalent (just scale the point)
  • Loading branch information
natemacfadden committed Mar 4, 2024
1 parent 8e6fca2 commit e987d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cytools/cone.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def extremal_hyperplanes(self, tol=1e-4, verbose=False):
"""
return self.dual().extremal_rays(tol=tol, verbose=verbose)

def tip_of_stretched_cone(self, c, backend=None, check=True,
def tip_of_stretched_cone(self, c=1, backend=None, check=True,
constraint_error_tol=5e-2, max_iter=10**6,
show_hints=True, verbose=False):
"""
Expand Down

0 comments on commit e987d5f

Please sign in to comment.