Skip to content

Commit 9983477

Browse files
authored
Merge pull request #4061 from JuliaReach/auto-juliaformatter-pr
Automatic JuliaFormatter.jl run
2 parents 58f3fa7 + 1904802 commit 9983477

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Approximations/overapproximate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ function _welzl!(P, R, d, B0) # note that d == n+1
10171017
end
10181018
R2 = copy(R)
10191019
push!(R2, p)
1020-
_welzl!(P2, R2, d, B0)
1020+
return _welzl!(P2, R2, d, B0)
10211021
end
10221022

10231023
function _circumsphere_trivial(R, B0)
@@ -1044,5 +1044,5 @@ function _circumsphere_trivial(R, B0)
10441044
r = (na * nb * norm(a - b)) / (2 * sqrt(aux))
10451045
return Ball2(c, r)
10461046
end
1047-
error("this case is not implemented yet") # TODO add higher-dimensional cases
1047+
return error("this case is not implemented yet") # TODO add higher-dimensional cases
10481048
end

test/Sets/Zonotope.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ for N in @tN([Float64, Float32, Rational{Int}])
295295
for res in (radius(Z), radius(Z, Inf))
296296
@test res isa N && res == N(6)
297297
end
298-
if N <: AbstractFloat
298+
if N <: AbstractFloat
299299
res = radius(Z, 2)
300300
@test res isa N && res == N(7.211102550927979)
301301
end

0 commit comments

Comments
 (0)