Skip to content

Commit 44dc19d

Browse files
authored
Fix typos in README (#240)
1 parent 8b166f9 commit 44dc19d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ all constraints.
139139

140140
## Automatic differetiation
141141

142-
Some algorithms in NLopt required derivatives, which you must manually provide
142+
Some algorithms in NLopt require derivatives, which you must manually provide
143143
in the `if length(grad) > 0` branch of your objective and constraint functions.
144144

145-
To stay simple and lightweighht, NLopt does not provide ways to automatically
145+
To stay simple and lightweight, NLopt does not provide ways to automatically
146146
compute derivatives. If you do not have analytic expressions for the derivatives,
147-
use package such as [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl)
147+
use a package such as [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl)
148148
to compute automatic derivatives.
149149

150150
Here is an example of how to wrap a function `f(x::Vector)` using ForwardDiff so

0 commit comments

Comments
 (0)