From d03ea1509eb92bea3b2a235be56620852f2c6d2b Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 17 Dec 2012 11:56:15 +0000 Subject: [PATCH] Trivial --- packages/CLPBN/learning/em.yap | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/CLPBN/learning/em.yap b/packages/CLPBN/learning/em.yap index 5750e6c59..fd05d591d 100644 --- a/packages/CLPBN/learning/em.yap +++ b/packages/CLPBN/learning/em.yap @@ -193,12 +193,12 @@ ltables([Id-T|Tables], [Key-LTable|FTables]) :- generate_dists(Factors, EList, AllDists, AllInfo, MargVars) :- - b_hash_new(Ev0), - foldl(elist_to_hash, EList, Ev0, Ev), - maplist(process_factor(Ev), Factors, Dists0), - sort(Dists0, Dists1), - group(Dists1, AllDists, AllInfo, MargVars0, []), - sort(MargVars0, MargVars). + b_hash_new(Ev0), + foldl(elist_to_hash, EList, Ev0, Ev), + maplist(process_factor(Ev), Factors, Dists0), + sort(Dists0, Dists1), + group(Dists1, AllDists, AllInfo, MargVars0, []), + sort(MargVars0, MargVars). elist_to_hash(K=V, Ev0, Ev) :- b_hash_insert(Ev0, K, V, Ev).