Skip to content

Commit a44c750

Browse files
fixed S optional parameter for zeta_function
1 parent 410c875 commit a44c750

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ZetaFunction.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ vars_reversed -- reverses the order of basis vectors at various places
267267
>>>if you don't know what this is, ignore it.
268268
269269
"""
270-
function zeta_function(f; S=collect(0:n), verbose=false, givefrobmat=false, algorithm=:costachunks, termorder=:invlex, vars_reversed=true, fastevaluation=false)
270+
function zeta_function(f; S=[-1], verbose=false, givefrobmat=false, algorithm=:costachunks, termorder=:invlex, vars_reversed=true, fastevaluation=false)
271271
p = Int64(characteristic(parent(f)))
272272
q = p
273273
n = nvars(parent(f)) - 1
@@ -316,7 +316,9 @@ function zeta_function(f; S=collect(0:n), verbose=false, givefrobmat=false, algo
316316
precisionringpoly, pvars = polynomial_ring(precisionring, ["x$i" for i in 0:n])
317317

318318
#S = SmallestSubsetSmooth.smallest_subset_s_smooth(fLift,n)
319-
#S = collect(0:n)
319+
if S == [-1]
320+
S = collect(0:n)
321+
end
320322

321323
#=
322324
BasisTLift = []

0 commit comments

Comments
 (0)