Skip to content

Commit

Permalink
rangeConstraint changed
Browse files Browse the repository at this point in the history
  • Loading branch information
hovanja2011 authored and hovanja2011 committed Nov 6, 2024
1 parent 8ae6bac commit 8621b52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ instance
in
zoom #acSystem . modify $ insert (toVar @a p) (p evalConstVar)

rangeConstraint (SysVar v) l =
zoom #acRange . modify $ insert l $ S.singleton v
rangeConstraint (SysVar v) upperBound =
zoom #acRange . modify $ insertWith S.union upperBound (S.singleton v)
-- FIXME range-constrain other variable types
rangeConstraint _ _ = error "Cannot range-constrain this variable"

Expand Down

0 comments on commit 8621b52

Please sign in to comment.