networks: Fix make-boolean-network.

This commit is contained in:
Sergiu Ivanov 2020-11-22 22:02:56 +01:00
parent 5475bc5fbf
commit 0085eb964b
1 changed files with 2 additions and 2 deletions

View File

@ -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"