Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 2, 2024
1 parent 0e72b84 commit 1cd0865
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down
2 changes: 1 addition & 1 deletion docs/src/reformulations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Reformulations

```@docs
Base.abs2(::AbstractExpr)
Base.abs2(::Convex.AbstractExpr)
hinge_loss
logisticloss
logsumexp
Expand Down
1 change: 0 additions & 1 deletion src/reformulations/pos.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@
Reformulation for: \$\\max(x, 0)\$.
"""
pos(x::AbstractExpr) = max(x, Constant(0, Positive()))

0 comments on commit 1cd0865

Please sign in to comment.