Commit 6683a364 authored by Kai Zhang's avatar Kai Zhang

minor

parent d4aa9e34
......@@ -38,7 +38,7 @@ degreeSequenceGame :: [Int] -- ^ Out degree
degreeSequenceGame out_deg in_deg = do
out_deg' <- listToVector $ map fromIntegral out_deg
in_deg' <- listToVector $ map fromIntegral in_deg
gp <- igraphDegreeSequenceGame out_deg' in_deg' IgraphDegseqSimpleNoMultiple
gp <- igraphDegreeSequenceGame out_deg' in_deg' IgraphDegseqSimple
unsafeFreeze $ MLGraph gp
-- | Randomly rewires a graph while preserving the degree distribution.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment