From 1130a3536dcb500551e816bd11c6176e11405c94 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 4 Jul 2011 22:36:57 +0100 Subject: [PATCH] fix ProbLog error. --- packages/ProbLog/problog/utils.yap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ProbLog/problog/utils.yap b/packages/ProbLog/problog/utils.yap index fad3f2326..68c72c4a7 100644 --- a/packages/ProbLog/problog/utils.yap +++ b/packages/ProbLog/problog/utils.yap @@ -229,7 +229,7 @@ %======================================================================== delete_file_silently(File) :- - delete_file(File), + catch(delete_file(File), _, fail), !. delete_file_silently(_).