amalgame/commit
unused output sets should be empty instead of var
author | Jacco van Ossenbruggen |
---|---|
Fri Jan 6 14:25:13 2012 +0100 | |
committer | Jacco van Ossenbruggen |
Fri Jan 6 14:25:13 2012 +0100 | |
commit | e773044e8a20639da6ed1f44e6c6e09310ca6f65 |
tree | 8283a55ab1f61a60582e316a9e67c9d46a5b13ce |
parent | 0f2329985a93df6c6fcb4127062074bbc1103ffb |
Diff style: patch stat
diff --git a/lib/ag_modules/ag_sample.pl b/lib/ag_modules/ag_sample.pl index 28279b8..2ab9c9a 100644 --- a/lib/ag_modules/ag_sample.pl +++ b/lib/ag_modules/ag_sample.pl @@ -13,7 +13,7 @@ amalgame_module(amalgame:'Sampler'). parameter(sample_size, integer, 5, 'Sample size'). parameter(method, oneof([random]), random , 'Sample method'). -selecter(In, Out, _, _, Options) :- +selecter(In, Out, [], [], Options) :- option(sample_size(Size), Options, 5), option(method(Method), Options, random), length(In, Length),