diff options
| author | Adam Russell <ac.russell@live.com> | 2022-11-27 16:50:19 -0500 |
|---|---|---|
| committer | Adam Russell <ac.russell@live.com> | 2022-11-27 16:50:19 -0500 |
| commit | 6df754efaf06b4858e29b0962314312a371b29ba (patch) | |
| tree | a284a2d542cff59a1fb534bff7fa791210683dcd | |
| parent | cc02a8221d539cfdbabec9041ca33528a90c64b1 (diff) | |
| download | perlweeklychallenge-club-6df754efaf06b4858e29b0962314312a371b29ba.tar.gz perlweeklychallenge-club-6df754efaf06b4858e29b0962314312a371b29ba.tar.bz2 perlweeklychallenge-club-6df754efaf06b4858e29b0962314312a371b29ba.zip | |
removed unused variable
| -rw-r--r-- | challenge-192/adam-russell/prolog/ch-2.p | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-192/adam-russell/prolog/ch-2.p b/challenge-192/adam-russell/prolog/ch-2.p index 2327a7f346..767cb42c8c 100644 --- a/challenge-192/adam-russell/prolog/ch-2.p +++ b/challenge-192/adam-russell/prolog/ch-2.p @@ -1,7 +1,7 @@ :-dynamic(moves/1). moves(0). -equal_distribution(ListIntegers, ListEqualDistribution):- +equal_distribution(ListIntegers, _):- length(ListIntegers, L), sum_list(ListIntegers, S), Average is S / L, |
