Skip to content

Commit

Permalink
fix precompilation issue (#53)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Ferranti <[email protected]>
  • Loading branch information
lucaferranti and lucaferranti authored May 27, 2022
1 parent bb96de5 commit 9844021
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "IntervalContractors"
uuid = "15111844-de3b-5229-b4ba-526f2f385dc9"
version = "0.4.6"
version = "0.4.7"

[deps]
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
Expand Down
11 changes: 0 additions & 11 deletions src/arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,3 @@ function mul_rev_to_pair(b::DecoratedInterval{T}, c::DecoratedInterval{T}) where
x1, x2 = extended_div(interval(c), interval(b))
return (DecoratedInterval(x1, trv), DecoratedInterval(x2, trv))
end

mul_rev_to_pair(b::Interval, c::Interval) = extended_div(c, b)

function mul_rev_to_pair(b::DecoratedInterval{T}, c::DecoratedInterval{T}) where T
(isnai(b) || isnai(c)) && return (nai(T), nai(T))

0 b && return (c/b, DecoratedInterval(emptyinterval(T), trv))

x1, x2 = extended_div(interval(c), interval(b))
return (DecoratedInterval(x1, trv), DecoratedInterval(x2, trv))
end

2 comments on commit 9844021

@lucaferranti
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/61163

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.4.7 -m "<description of version>" 9844021e06fc64d0bf0ba993886dc22ad2d3ab6a
git push origin v0.4.7

Please sign in to comment.