Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Aug 16, 2023
1 parent 93afbdc commit 817845f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ JuMPDimensionalDataExt = "DimensionalData"
[compat]
DimensionalData = "0.24"
MacroTools = "0.5"
MathOptInterface = "1.18"
MathOptInterface = "1.19"
MutableArithmetics = "1.1"
OrderedCollections = "1"
SnoopPrecompile = "1"
Expand Down
4 changes: 2 additions & 2 deletions docs/src/manual/nonlinear.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ model = Model();
```

You may assume the Hessian matrix `H` is initialized with zeros, and because `H`
is symmetric, you need only to fill in the non-zero of the lower-triangular
is symmetric, you need only to fill in the non-zero lower-triangular
terms. The matrix type passed in as `H` depends on the automatic differentiation
system, so make sure the first argument to the Hessian function supports an
`AbstractMatrix` (it may be something other than `Matrix{Float64}`). Moreover,
Expand Down Expand Up @@ -294,7 +294,7 @@ differentiation of user-defined functions.
computed derivatives are not subject to approximation error.

JuMP uses [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl) to
perform automatic differentiation; see the ForwardDiff.jl
perform automatic differentiation of user-defined functions; see the ForwardDiff.jl
[documentation](https://www.juliadiff.org/ForwardDiff.jl/v0.10.2/user/limitations.html)
for a description of how to write a function suitable for automatic
differentiation.
Expand Down

0 comments on commit 817845f

Please sign in to comment.