diff --git a/docs/make.jl b/docs/make.jl index c2ddaa45d..c5289fdfd 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -116,10 +116,7 @@ Documenter.makedocs( "developer/contributing.md", "developer/credits.md", ], - "API" => [ - "atoms.md", - "reformulations.md", - ], + "API" => ["atoms.md", "reformulations.md"], "reference.md", "release_notes.md", ], diff --git a/docs/src/reformulations.md b/docs/src/reformulations.md index e957199f1..648e02cb2 100644 --- a/docs/src/reformulations.md +++ b/docs/src/reformulations.md @@ -1,7 +1,7 @@ # Reformulations ```@docs -Base.abs2(::AbstractExpr) +Base.abs2(::Convex.AbstractExpr) hinge_loss logisticloss logsumexp diff --git a/src/reformulations/pos.jl b/src/reformulations/pos.jl index 04f09c59a..b531e6305 100644 --- a/src/reformulations/pos.jl +++ b/src/reformulations/pos.jl @@ -9,4 +9,3 @@ Reformulation for: \$\\max(x, 0)\$. """ pos(x::AbstractExpr) = max(x, Constant(0, Positive())) -