diff --git a/packages/ProbLog/problog_examples/learn_graph.pl b/packages/ProbLog/problog_examples/learn_graph.pl index 4e15cfedf..1970599d4 100644 --- a/packages/ProbLog/problog_examples/learn_graph.pl +++ b/packages/ProbLog/problog_examples/learn_graph.pl @@ -15,7 +15,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% :- use_module(library(matrix)). -:- use_module(('../problog_lbfgs')). +:- use_module('../problog_learning'). %%%% % background knowledge diff --git a/packages/ProbLog/problog_learning.yap b/packages/ProbLog/problog_learning.yap index 5d60bf244..a9f3993db 100644 --- a/packages/ProbLog/problog_learning.yap +++ b/packages/ProbLog/problog_learning.yap @@ -220,7 +220,7 @@ :- use_module(library(system), [file_exists/1, shell/2]). % load our own modules -:- use_module(problog). +:- reexport(problog). :- use_module('problog/logger'). :- use_module('problog/flags'). :- use_module('problog/os'). @@ -1335,7 +1335,7 @@ lineSearch(Final_X,Final_Value) :- line_search_evaluate_point(InitLeft,Value_InitLeft), -i Parameters=ls(A,B,InitLeft,InitRight,Value_A,Value_B,Value_InitLeft,Value_InitRight,1), + Parameters=ls(A,B,InitLeft,InitRight,Value_A,Value_B,Value_InitLeft,Value_InitRight,1), %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% BEGIN BACK TRACKING