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.
|
||||
(define (tbn->network tbn)
|
||||
(for/hash ([(var tbf) (in-hash tbn)])
|
||||
(values var ((curry apply-tbf/state) tbf))))
|
||||
(make-boolean-network (for/hash ([(var tbf) (in-hash tbn)])
|
||||
(values var ((curry apply-tbf/state) tbf)))))
|
||||
|
||||
(module+ test
|
||||
(test-case "tbn->network"
|
||||
|
|
Loading…
Reference in a new issue