networks: Fix make-boolean-network.
This commit is contained in:
parent
5475bc5fbf
commit
0085eb964b
1 changed files with 2 additions and 2 deletions
|
@ -1410,8 +1410,8 @@
|
||||||
|
|
||||||
;;; Constructs a network from a network form defining a TBN.
|
;;; Constructs a network from a network form defining a TBN.
|
||||||
(define (tbn->network tbn)
|
(define (tbn->network tbn)
|
||||||
(for/hash ([(var tbf) (in-hash tbn)])
|
(make-boolean-network (for/hash ([(var tbf) (in-hash tbn)])
|
||||||
(values var ((curry apply-tbf/state) tbf))))
|
(values var ((curry apply-tbf/state) tbf)))))
|
||||||
|
|
||||||
(module+ test
|
(module+ test
|
||||||
(test-case "tbn->network"
|
(test-case "tbn->network"
|
||||||
|
|
Loading…
Reference in a new issue