| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-08-29 22:58:48 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-08-29 22:58:48 +0200 | 
| commit | 04b46b69436e099e1b05ab4b9371bc070d95aec1 (patch) | |
| tree | 8588affbbd36e5d2a84296f3ca079a49e8c5cee4 /src/balancer/blc_distribution.erl | |
| parent | 921db62f5055b8b77ae1d8c677e43f11371d90c4 (diff) | |
...
Diffstat (limited to 'src/balancer/blc_distribution.erl')
| -rw-r--r-- | src/balancer/blc_distribution.erl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/balancer/blc_distribution.erl b/src/balancer/blc_distribution.erl index a305dd4..3e114f4 100644 --- a/src/balancer/blc_distribution.erl +++ b/src/balancer/blc_distribution.erl @@ -25,7 +25,7 @@     )     -> list(list(0..100)).  generate_internals (0, CurrentResult, _Sequence) -> -   CurrentResult; +   lists:filter(fun (E) -> (lists:sum(E) == 100) end, CurrentResult);  generate_internals (N, CurrentResult, Sequence) ->     generate_internals     ( | 


