Skip to content

Commit

Permalink
compat entries. update one test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewning committed Jun 24, 2021
1 parent 841ec3b commit 706f7bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
FiniteDiff = "2.8"
ForwardDiff = "0.10"
SparseDiffTools = "1.13"
DiffResults = "1.0"
Ipopt = "0.7"
Requires = "1.1"
ReverseDiff = "1.9"
Zygote = "0.6"
julia = "1"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ xopt, fopt, info, out = minimize(barnes, x0, ng, lx, ux, -Inf, 0.0, options)
@test isapprox(xopt[1], 49.5263; atol=1e-4)
@test isapprox(xopt[2], 19.6228; atol=1e-4)
@test isapprox(fopt, -31.6368; atol=1e-4)
@test info == :Solve_Succeeded
@test info == :Solve_Succeeded || info == :Solved_To_Acceptable_Level

if snopttest
options = Options(solver=SNOPT(), derivatives=ForwardAD())
Expand Down

3 comments on commit 706f7bd

@andrewning
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewning
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/42653

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.0 -m "<description of version>" 706f7bd4dc053f70dc8a8595dbed16b4381003c7
git push origin v0.2.0

Also, note the warning: This looks like a new registration that registers version 0.2.0.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Please sign in to comment.