From bd9d0a2ce035786297a44592b1431ed4e1d44665 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Wed, 13 Oct 2010 15:56:42 +0000 Subject: [PATCH] Bug fix - uninitialized variable --- inference/Conditional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference/Conditional.h b/inference/Conditional.h index e8eb024d8..59e21229f 100644 --- a/inference/Conditional.h +++ b/inference/Conditional.h @@ -53,7 +53,7 @@ public: typedef boost::iterator_range Parents; /** Empty Constructor to make serialization possible */ - Conditional(){} + Conditional() : nrFrontals_(0) {} /** No parents */ Conditional(Index key) : factor_(key), nrFrontals_(1) {}