Skip to content

Commit

Permalink
clean up warnings (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
jverzani committed May 22, 2024
1 parent 4549acc commit 30d172e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "CalculusWithJulia"
uuid = "a2e0e22d-7d4c-5312-9169-8b992201a882"
version = "0.2.5"
version = "0.2.6"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
6 changes: 2 additions & 4 deletions ext/CalculusWithJuliaPlotsExt.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
module CalculusWithJuliaPlotsExt

using CalculusWithJulia
import CalculusWithJulia:
ClosedInterval,
find_colors, identify_colors
import CalculusWithJulia: ClosedInterval
import CalculusWithJulia:
plotif, trimplot, signchart,
plot_polar, plot_polar!,
Expand Down Expand Up @@ -59,7 +57,7 @@ function plotif(f, g, a::Real, b::Real;
kwargs...)

# get shading
xs, ys = unzip(x -> g(x) 0 ? f(x) : NaN, a, b)
xs, ys = unzip(x -> g(x) -Base.rtoldefault(Float64) ? f(x) : NaN, a, b)
ls,rs = eltype(xs)[], eltype(xs)[]

left = true
Expand Down

2 comments on commit 30d172e

@jverzani
Copy link
Owner 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/107368

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.6 -m "<description of version>" 30d172e386c6dec26f6c82d59071e313e268955d
git push origin v0.2.6

Please sign in to comment.