Skip to content

Commit 2570253

Browse files
lbenetdpsanders
authored andcommitted
Bring back a method for 𝒩 (#63)
* Bring back a method for 𝒩 * Fix appveyor to test from Julia0.6 on
1 parent ca91b8b commit 2570253

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

appveyor.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
3+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
4+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
5+
6+
matrix:
7+
allow_failures:
58
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
69
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
710

11+
812
branches:
913
only:
1014
- master

src/contractors.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ function 𝒩{T}(f, f′, X::Interval{T})
7171
m - (f(m) / f′(X))
7272
end
7373

74+
function 𝒩{T}(f, X::Interval{T}, dX::Interval{T})
75+
m = Interval(mid(X, where_bisect))
76+
77+
m - (f(m) / dX)
78+
end
7479

7580
IntervalArithmetic.mid(X::IntervalBox, α) = mid.(X, α)
7681

0 commit comments

Comments
 (0)