Skip to content
Snippets Groups Projects
Commit 2be59dcf authored by daniel's avatar daniel
Browse files

BUGFIX: CL formulas were being generated with an extra agent

parent 75263302
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ gradesBetween from to = G <$> inRange (from,to) ...@@ -102,7 +102,7 @@ gradesBetween from to = G <$> inRange (from,to)
numAgents :: Nat -> Rand CL numAgents :: Nat -> Rand CL
numAgents n = CL <$> buildSet I.empty (n+1) numAgents n = CL <$> buildSet I.empty n
where where
buildSet !acc m buildSet !acc m
| m <= 0 = pure acc | m <= 0 = pure acc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment