Samuel W. Flint 5 vuotta sitten
vanhempi
commit
74bb5c5e95
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  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