generic: Fix fallback-dds-step.

This commit is contained in:
Sergiu Ivanov 2020-02-23 13:36:49 +01:00
parent 8c92a4bbd8
commit fea113c1dd

View file

@ -19,7 +19,7 @@
;;; Given a dds and a set of starting states, produce the set of ;;; Given a dds and a set of starting states, produce the set of
;;; states reachable in one step. This is a fallback for dds-step. ;;; states reachable in one step. This is a fallback for dds-step.
(define (fallback-dds-step dds ss) (define (fallback-dds-step dds ss)
(list->set (flatten (for/list ([s ss]) (dds-step-one dds s))))) (apply set-union (for/list ([s ss]) (dds-step-one dds s))))
;;; A discrete dynamical system. ;;; A discrete dynamical system.
(define-generics dds (define-generics dds