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 vars (hash-keys network))
|
||||
(unweighted-graph/directed
|
||||
(for*/list ([x vars]
|
||||
[y vars]
|
||||
(for*/list ([x (in-list vars)]
|
||||
[y (in-list vars)]
|
||||
#:when (interaction? network doms x y))
|
||||
(list x y))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue