checking.lisp 364 B

123456789101112131415
  1. ;;;; checking.lisp
  2. ;;;;
  3. ;;;; Copyright (c) 2020 Samuel W. Flint <swflint@flintfam.org>
  4. (in-package #:lcsp)
  5. ;;; "lcsp" goes here.
  6. (defmethod check-constraint (constraint vvps &key suppress-cc-update-p) :around
  7. (let ((result (call-next-method)))
  8. (unless suppress-cc-update-p
  9. (incf (constraint-checks (problem constraint))))
  10. result))
  11. ;;; End lcsp