network,build-interaction-graph: Use in-list.
This commit is contained in:
parent
d190f76fdf
commit
af8428d275
1 changed files with 2 additions and 2 deletions
|
@ -511,8 +511,8 @@
|
||||||
(define (build-interaction-graph network doms)
|
(define (build-interaction-graph network doms)
|
||||||
(define vars (hash-keys network))
|
(define vars (hash-keys network))
|
||||||
(unweighted-graph/directed
|
(unweighted-graph/directed
|
||||||
(for*/list ([x vars]
|
(for*/list ([x (in-list vars)]
|
||||||
[y vars]
|
[y (in-list vars)]
|
||||||
#:when (interaction? network doms x y))
|
#:when (interaction? network doms x y))
|
||||||
(list x y))))
|
(list x y))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue