Skip to content

Commit

Permalink
add deps for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
junyixu committed Aug 23, 2024
1 parent e9cf0a7 commit 5536e43
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.2"
manifest_format = "2.0"
project_hash = "fc42f77a62c3f6eb111e0b5b1979b582dffac6c0"
project_hash = "9952708dc4e30427802feb8e3372b2b9577fe53d"

[[deps.ADTypes]]
git-tree-sha1 = "016833eb52ba2d6bea9fcb50ca295980e728ee24"
Expand Down
6 changes: 6 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
using Documenter
using TrixiEnzyme
import Trixi
import Enzyme
import Polyester

DocMeta.setdocmeta!(TrixiEnzyme, :DocTestSetup, :(using TrixiEnzyme); recursive=true)


push!(LOAD_PATH,"../src/")
makedocs(sitename="TrixiEnzyme.jl",
Expand Down
1 change: 1 addition & 0 deletions src/TrixiEnzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ using Trixi: AbstractEquations, TreeMesh, DGSEM,
wrap_array, compute_coefficients, have_nonconservative_terms,
boundary_condition_periodic,
set_log_type, set_sqrt_type
import Enzyme
using Enzyme: autodiff, Forward, Reverse, Duplicated, DuplicatedNoNeed, make_zero
using Polyester: @batch

Expand Down
1 change: 1 addition & 0 deletions src/jacobian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function jacobian_enzyme_reverse_closure(semi)
end

return dxs
end

"""
jacobian_enzyme_forward(semi::SemidiscretizationHyperbolic)
Expand Down
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Test, TrixiEnzyme
out = plusTwo(3)

@test out == 5

0 comments on commit 5536e43

Please sign in to comment.