Skip to content

Commit e21cb59

Browse files
Added basis recomputing
1 parent fcfdfda commit e21cb59

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/SmoothNondegenerate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function find_Ssmooth_model(f, M, S_target, params)
3333
bool = false
3434
return f_transformed, pseudo_inverse_mat_new
3535
catch e
36-
(0 < verbose) && println("This f is not S smooth, changing to one that is")
36+
(0 < params.verbose) && println("This f is not S smooth, changing to one that is")
3737
if isa(e, ArgumentError) && e.msg == "f is not smooth"
3838
throw(ArgumentError("f is not smooth"))
3939
bool = false

src/ZetaFunction.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,15 @@ function zeta_function(f; S=[-1], verbose=false, givefrobmat=false, algorithm=:c
376376
f, pseudo_inverse_mat_new = find_Ssmooth_model(f, M, S, params)
377377
end
378378

379+
basis = compute_monomial_bases(f, R, PR, params.termorder) # basis of cohomology
380+
Basis = []
381+
for i in 1:n
382+
for j in basis[i]
383+
push!(Basis,[j,i])
384+
end
385+
end
386+
println(basis)
387+
379388
#=
380389
BasisTLift = []
381390
for i in basis

0 commit comments

Comments
 (0)