Skip to content

Commit

Permalink
Update src/Interfaces/AbstractZonotope.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Forets <[email protected]>
  • Loading branch information
schillic and mforets authored Feb 28, 2022
1 parent ea9f484 commit 48e030d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interfaces/AbstractZonotope.jl
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ The higher coordinate of the zonotopic set in the given dimension.
function high(Z::AbstractZonotope, i::Int)
G = genmat(Z)
v = center(Z, i)
for j in 1:ngens(Z)
@inbounds for j in 1:ngens(Z)
v += abs(G[i, j])
end
return v
Expand Down

0 comments on commit 48e030d

Please sign in to comment.