Skip to content

Commit

Permalink
Update src/Approximations/overapproximate.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mforets authored Jan 17, 2019
1 parent 3000a51 commit 293cffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Approximations/overapproximate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ hybrid systems using a combination of zonotopes and polytopes. Nonlinear analysi
hybrid systems, 4(2), 233-249.*
"""
function overapproximate(Z::Zonotope, ::Type{<:Hyperrectangle})::Hyperrectangle
r = sum(abs.(Z.generators), dims=2)[:]
r = Compat.sum(abs.(Z.generators), dims=2)[:]
return Hyperrectangle(Z.center, r)
end

Expand Down

0 comments on commit 293cffd

Please sign in to comment.