Skip to content

Commit

Permalink
Fixed typo in hilbert basis computation
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed Aug 29, 2022
1 parent 5697176 commit d279d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cytools/cone.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,15 +1049,15 @@ def hilbert_basis(self):
n_rays = literal_eval(l.split()[0])
for i in range(n_rays):
rays.append([literal_eval(c) for c in data[l_n+1+i].split()])
l_n += 1
l_n += n_rays+1
continue
if "further Hilbert basis elements" in l:
n_rays = literal_eval(l.split()[0])
for i in range(n_rays):
rays.append([literal_eval(c) for c in data[l_n+1+i].split()])
l_n += n_rays+1
continue
l_n += n_rays+1
l_n += 1
continue
self._hilbert_basis = np.array(rays)
return np.array(self._hilbert_basis)
Expand Down

0 comments on commit d279d77

Please sign in to comment.