Skip to content

Commit

Permalink
ci: deploying docs
Browse files Browse the repository at this point in the history
  • Loading branch information
giannipetrella committed Jun 4, 2024
1 parent 635f1b8 commit bc500fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
pull-requests: read # Required when using `push_preview=true`
statuses: write # Optional, used to report documentation build statuses
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ makedocs(
# See "Hosting Documentation" and deploydocs() in the Documenter manual
# for more information.

# deploydocs(repo = "where-is-this-going/QuiverTools")
deploydocs(repo = "github.com/quiver-tools/QuiverTools.jl.git")
14 changes: 2 additions & 12 deletions src/QuiverTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ export Hodge_diamond, Hodge_polynomial, Picard_rank
export mKronecker_quiver, loop_quiver, subspace_quiver, three_vertex_quiver


# TODO coframed_quiver()
# TODO full_subquiver()
# TODO bipartite quiver

"""
A quiver is represented by its adjacency
``n \\times n`` matrix ``adjacency = (a_{ij})``,
Expand Down Expand Up @@ -458,9 +454,6 @@ for all generic subdimension vectors ``e'`` of ``e``.
return true
end
# considering subdimension vectors that violate the numerical condition
# TODO this filtering is inefficent.
# For fixed d-e, this is a LINEAR form, we KNOW which eprimes violate the condition.
# We should just check those.
Euler_matrix_temp = Euler_matrix(Q) * (d - e) #to speed up computation of <eprime,d-e>
subdimensions = filter(eprime -> eprime' * Euler_matrix_temp < 0, all_subdimension_vectors(e))
# none of the subdimension vectors violating the condition should be generic
Expand Down Expand Up @@ -1093,7 +1086,7 @@ function symmetric_polynomial(vars, degree::Int)
return sum(prod(e) for e in IterTools.subsets(vars, degree))
end

function Chow_ring(Q::Quiver, d::Vector{Int}, theta::Vector{Int}, a::Vector{Int}; standard::Bool=false)
function Chow_ring(Q::Quiver, d::Vector{Int}, theta::Vector{Int}, a::Vector{Int})
# TODO cover case d[i] = 0
# safety checks
if !is_coprime(d, theta)
Expand Down Expand Up @@ -1154,10 +1147,7 @@ function Chow_ring(Q::Quiver, d::Vector{Int}, theta::Vector{Int}, a::Vector{Int}
tautological = [gens(preimage(inclusion, Ideal(R, g)))[1] for g in anti]
linear = [sum(a[i] * xs(i, 1) for i in 1:nvertices(Q))]

if standard
return QuotientRing(A, std(Ideal(A, [tautological; linear])))
end
return Dict("ring" => A, "relations" => Ideal(A, [tautological; linear]))
return QuotientRing(A, std(Ideal(A, [tautological; linear])))
end

# TODO todd class
Expand Down

0 comments on commit bc500fb

Please sign in to comment.