Skip to content

Commit

Permalink
need negative orthant to avoid edge case (all negative set)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerarnon committed Jul 29, 2020
1 parent 7648cd5 commit f4c7476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reachability/utils/reachability.jl
Expand Up @@ -34,7 +34,7 @@ function forward_partition(act::ReLU, input)

output = HPolytope{Float64}[]

for h in 1:(big"2"^N)-1
for h in 0:(big"2"^N)-1
P = Diagonal(1.0.*digits(h, base = 2, pad = N))
orthant = HPolytope(Matrix(I - 2.0P), zeros(N))
S = intersection(input, orthant)
Expand Down

0 comments on commit f4c7476

Please sign in to comment.