Matthew Butterick 6 years ago
parent 6e942167bf
commit 2186873782

@ -623,8 +623,7 @@
#:when (memq (var-name vr) names))
vr)
(for/list ([const (in-constraints prob)]
#:when (for/and ([cname (in-list (constraint-names const))])
(memq cname names)))
#:when (constraint-checkable? const names))
const)))
(define (decompose-prob prob)

Loading…
Cancel
Save