Skip to content

Commit a3827dc

Browse files
authored
remove dynamic polynomials. fixes #176 (#177)
* remove dynamic polynomials * allow failure on nightly
1 parent 1579d8e commit a3827dc

File tree

4 files changed

+7
-24
lines changed

4 files changed

+7
-24
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ julia:
1313
- 1.4
1414
- nightly
1515

16-
# matrix:
17-
# allow_failures:
18-
# - julia: nightly
16+
matrix:
17+
allow_failures:
18+
- julia: nightly
1919

2020
notifications:
2121
email: false

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
1818
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
1919

2020
[extras]
21-
DynamicPolynomials = "7c1d4256-1411-5781-91ec-d7bc3513ac07"
2221
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
2322
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2423

2524
[targets]
26-
test = ["Test", "DynamicPolynomials", "ModelingToolkit"]
25+
test = ["Test", "ModelingToolkit"]

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ platform:
99

1010
# # Uncomment the following lines to allow failures on nightly julia
1111
# # (tests will run but not make your overall status red)
12-
# matrix:
13-
# allow_failures:
14-
# - julia_version: nightly
12+
matrix:
13+
allow_failures:
14+
- julia_version: nightly
1515

1616
branches:
1717
only:

test/runtests.jl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using IntervalArithmetic
22
using IntervalConstraintProgramming
33
using ModelingToolkit
4-
using DynamicPolynomials
54

65
using Test
76

@@ -81,13 +80,6 @@ end
8180

8281
end
8382

84-
@testset "Contractors for polynamial functions" begin
85-
pvars = @polyvar x y
86-
p(x,y) = x + y
87-
C = Contractor(pvars, p)
88-
@test C(-Inf..1, IntervalBox(0.5..1.5, 2)) == IntervalBox(0.5..0.5, 2)
89-
end
90-
9183
@testset "Separators" begin
9284
II = -100..100
9385
X = IntervalBox(II, II)
@@ -133,14 +125,6 @@ end
133125

134126
end
135127

136-
@testset "Seperators for polynomial functions" begin
137-
pvars = @polyvar x y
138-
p(x,y) = x + y == 1
139-
S = Separator(pvars, p)
140-
141-
@test S(IntervalBox(0.5..1.5, 2)) == (IntervalBox(0.5..0.5, 2), IntervalBox(0.5..1.5, 2))
142-
143-
end
144128
@testset "pave" begin
145129
S1a = @constraint(x > 0 , [x, y])
146130
S1b = @constraint(y > 0 , [x, y])

0 commit comments

Comments
 (0)