Skip to content

Commit

Permalink
Fix a small bug in root nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
shizhouxing committed Feb 14, 2023
1 parent 58ee1c1 commit d2592c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_LiRPA/bound_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ def compute_bounds(
# Use plain tuple defaulting to Linf perturbation.
root[i].interval = (value, value)
root[i].forward_value = root[i].value = value
root[i].lower = root[i].upper = value
root[i].center = root[i].lower = root[i].upper = value

root[i].lower, root[i].upper = root[i].interval

Expand Down

0 comments on commit d2592c1

Please sign in to comment.