Skip to content
Merged
4 changes: 2 additions & 2 deletions lib/CanonicalMoments/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ChainRulesCore = "1"
DiscreteMeasures = "0.1"
ForwardDiff = "1"
InteractiveUtils = "1.10"
IntervalArithmetic = "1"
IntervalArithmetic = "1.0.11"
LinearAlgebra = "1.10"
Pkg = "1.10"
PolynomialRoots = "1.0"
Expand All @@ -43,7 +43,7 @@ SciMLPublic = "1"
SpecialFunctions = "2"
StaticArrays = "1"
Statistics = "1.10"
Symbolics = "7.30"
Symbolics = "7.37"
Test = "1.10"

[sources]
Expand Down
2 changes: 1 addition & 1 deletion lib/DiscreteMeasures/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ IntervalArithmeticExt = "IntervalArithmetic"

[compat]
julia = "1.10"
IntervalArithmetic = "1"
IntervalArithmetic = "1.0.11"
Pkg = "1.10"
SafeTestsets = "0.1"
Test = "1.10"
Expand Down
2 changes: 1 addition & 1 deletion lib/DiscreteMeasures/ext/IntervalArithmeticExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using DiscreteMeasures, IntervalArithmetic

println("Load Ext")
function DiscreteMeasures.clamp_domain(x::Interval, lb, ub)
bounds = Interval(lb, ub)
bounds = interval(lb, ub)
return intersect(x, bounds)
end

Expand Down
10 changes: 5 additions & 5 deletions lib/DiscreteMeasures/test/Core/discrete_measures_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ end
end

@testset "Interval Ext" begin
@test clamp_domain(Interval(-2, -1), 0, 2) ==
@test clamp_domain(Interval(-2, 1), 0, 2) == Interval(0, 1)
@test clamp_domain(Interval(0.1, 0.5), 0, 2) == Interval(0.1, 0.5)
@test clamp_domain(Interval(0.5, 5), 0, 2) == Interval(0.5, 2)
@test clamp_domain(Interval(3, 4), 0, 2) ==
@test clamp_domain(interval(-2, -1), 0, 2) == emptyinterval()
@test clamp_domain(interval(-2, 1), 0, 2) == interval(0, 1)
@test clamp_domain(interval(0.1, 0.5), 0, 2) == interval(0.1, 0.5)
@test clamp_domain(interval(0.5, 5), 0, 2) == interval(0.5, 2)
@test clamp_domain(interval(3, 4), 0, 2) == emptyinterval()
end

end
10 changes: 6 additions & 4 deletions lib/OUQBase/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ JuMP = "1.23.6"
ModelingToolkit = "11.31"
NaNMath = "1.1.3"
Optimization = "5"
OptimizationBBO = "0.4"
OrderedCollections = "2.0"
OptimizationBBO = "0.4.11"
OrderedCollections = "1.7.0, 2.0"
Pkg = "1.10"
Polynomials = "4.0.13"
Reexport = "1.2.2"
SciMLBase = "3.31"
SciMLLogging = "2.1"
SafeTestsets = "0.1"
SymbolicUtils = "4.38"
Symbolics = "7.30"
Symbolics = "7.37"
TermInterface = "2"
Test = "1.10"

Expand All @@ -50,7 +51,8 @@ DiscreteMeasures = { path = "../DiscreteMeasures" }
OptimizationBBO = "3e6eede4-6085-4f62-9a71-46d9bc1eb92b"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLLogging = "a6db7da4-7206-11f0-1eab-35f2a5dbe1d1"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["OptimizationBBO", "Pkg", "SafeTestsets", "Test"]
test = ["OptimizationBBO", "Pkg", "SafeTestsets", "SciMLLogging", "Test"]
Loading