Skip to content
Snippets Groups Projects
Commit 75263302 authored by Thorsten Wißmann's avatar Thorsten Wißmann :guitar:
Browse files

don't generate agent 0 on cl formulas

parent 87926e98
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ numAgents n = CL <$> buildSet I.empty (n+1)
buildSet !acc m
| m <= 0 = pure acc
| otherwise = do heads <- rand
let acc' = if heads then acc else I.insert (m-1) acc
let acc' = if heads then acc else I.insert m acc
buildSet acc' (m-1)
someFormula :: Rand mod -> RandConf -> Rand (Fm mod)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment