networks: Remove an extra call to booleanize-state.

This commit is contained in:
Sergiu Ivanov 2020-02-26 21:02:44 +01:00
parent b53639839f
commit 63b676b1ba

View file

@ -113,8 +113,6 @@
(define (booleanize-state s) (define (booleanize-state s)
(for/hash ([(x val) s]) (match val [0 (values x #f)] [1 (values x #t)]))) (for/hash ([(x val) s]) (match val [0 (values x #f)] [1 (values x #t)])))
(booleanize-state (st '((a . 1) (b . 0))))
;;; A shortcut for make-state-booleanize. ;;; A shortcut for make-state-booleanize.
(define-syntax-rule (stb s) (booleanize-state s)) (define-syntax-rule (stb s) (booleanize-state s))