Browse Source

Fix up VVPS

Samuel W. Flint 4 years ago
parent
commit
74bb5c5e95
1 changed files with 8 additions and 0 deletions
  1. 8 0
      checking.lisp

+ 8 - 0
checking.lisp

@@ -19,4 +19,12 @@
          ((or (not value) (null constr)) value)
       (setf value (check-constraint constr vvps :suppress-cc-update-p t)))))
 
+(defun fix-vvps (vvps constraint)
+  (let ((variables (variables constraint)))
+    (mapcar #'(lambda (var)
+                (find var vvps
+                      :key #'car
+                      :test #'equal))
+            variables)))
+
 ;;; End lcsp