Skip to content

Commit

Permalink
Update to Documenter v1 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat authored Sep 19, 2023
1 parent 02a381e commit 41837dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
MultivariatePolynomials = "102ac46a-7ee4-5c85-9060-abc95bfdeaa3"

[compat]
Documenter = "~0.27"
Documenter = "1"
2 changes: 0 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ makedocs(
sitename = "MultivariateMoments",
# See https://github.com/JuliaDocs/Documenter.jl/issues/868
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),
# See https://github.com/JuliaOpt/JuMP.jl/issues/1576
strict = true,
pages = [
"Index" => "index.md"
"Moments and expectation" => "moments.md"
Expand Down
2 changes: 1 addition & 1 deletion src/hermitian_matrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function Base.getindex(
return convert(U, r)
else
c = _imag_getindex(Q, I, J)
# If `c` is `MathOptInterface.SingleVariable`, `-c` is not defined so
# If `c` is `MOI.VariableIndex`, `-c` is not defined so
# we prefer calling `-one(S)`.
return r + ((i < j ? one(S) : -one(S)) * im) * c
end
Expand Down

0 comments on commit 41837dd

Please sign in to comment.