File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -649,7 +649,10 @@ def diagonal_asymptotics_combinatorial(
649649 return
650650
651651 asm_quantities = []
652+ # Store copy of vs and r in case order changes due to parametrization
653+ vs_copy , r_copy = copy (vs ), copy (r )
652654 for cp in min_crit_pts :
655+ vs , r = copy (vs_copy ), copy (r_copy )
653656 # Step 1: Determine if pt is a transverse multiple point of H, and compute the factorization
654657 # for now, we'll just try to factor it in the polynomial ring
655658 R = PolynomialRing (QQbar , len (vs ), vs )
@@ -734,10 +737,10 @@ def diagonal_asymptotics_combinatorial(
734737 # For non-complete intersections, we must compute the parametrized Hessian matrix
735738 if s != d :
736739 Qw = compute_implicit_hessian (factors , vs , r , subs = subs_dict )
737- expansion = SR (G .subs (subs_dict ) / abs (Gamma .determinant ()) / unit )
740+ expansion = SR (abs ( prod ([ v for v in vs [: d - s ]]). subs ( subs_dict )) * G .subs (subs_dict ) / abs (Gamma .determinant ()) / unit )
738741 B = SR (
739- prod ([ v for v in vs [: d - s ]]). subs ( subs_dict )
740- / ( r [ - 1 ] * Qw ) .determinant ()
742+ 1
743+ / Qw .determinant ()
741744 / 2 ** (d - s )
742745 )
743746 else :
You can’t perform that action at this time.
0 commit comments