Skip to content

Commit

Permalink
Optlevel (#192)
Browse files Browse the repository at this point in the history
* add optlevel

* update ci
  • Loading branch information
jverzani committed Aug 10, 2020
1 parent 0045e5c commit 0a2c18a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ julia:
- 1.2
- 1.3
- 1.4
- 1.5
- nightly

notifications:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Roots"
uuid = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
version = "1.0.4"
version = "1.0.5"

[deps]
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ environment:
- julia_version: 1.2
- julia_version: 1.3
- julia_version: 1.4
- julia_version: 1.5
- julia_version: latest

platform:
Expand Down
4 changes: 4 additions & 0 deletions src/Roots.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
module Roots

if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
@eval Base.Experimental.@optlevel 1
end

using Printf

export fzero,
Expand Down

2 comments on commit 0a2c18a

@jverzani
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/19274

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 v1.0.5 -m "<description of version>" 0a2c18a55fd0bac3e76c591514c14bcb469a260f
git push origin v1.0.5

Please sign in to comment.