Skip to content

Commit

Permalink
missing update adj curves along path 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jchilds0 committed Sep 22, 2023
1 parent 2db4935 commit 00768a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions cython/core/triangulation.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3040,6 +3040,7 @@ cdef class Triangulation():
"""
Extend the Neumann-Zagier Matrix to one which is symplectic (up to factors of 2)
using oscillating curves. Verify parameter explicitly tests if the resulting matrix is symplectic.
Only accepts triangulations with 1 cusp.
>>> M = Manifold("4_1")
>>> M.symplectic_basis() # doctest:
Expand Down Expand Up @@ -3081,6 +3082,10 @@ cdef class Triangulation():
if self.c_triangulation is NULL:
raise ValueError('The Triangulation is empty.')

# current get_symplectic_eqns() implementation requires 1 cusp
if self.num_cusps() > 1:
raise ValueError('Triangulation contains {self.num_cusps()} cusps, only accepts triangulations with 1 cusp')

eqns = []

peripheral_curves(self.c_triangulation)
Expand Down
4 changes: 2 additions & 2 deletions dev/symplectic_basis/symplectic_basis_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ int main(void) {
int fromFile = 1;

int count = 1;
int numTet[] = {6};
int index[] = {286};
int numTet[] = {5};
int index[] = {6};

char *error[] = {
"CuspedCensusData/link-60819.tri", /* curve holonomy */
Expand Down
2 changes: 1 addition & 1 deletion dev/symplectic_basis/symplectic_basis_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void testDual(void) {
if (get_orientability(theTriangulation) == nonorientable_manifold)
continue;

// printf("Num Tet: %d Index: %d \n", index[i][0], j);
printf("Num Tet: %d Index: %d \n", index[i][0], j);

basis = get_symplectic_basis(theTriangulation, &dual_rows, &dual_cols, 0);

Expand Down

0 comments on commit 00768a5

Please sign in to comment.