Diff of /src/lib/graph/StochasticNode.cc [ff1121] .. [768e6d]  Maximize  Restore

Switch to side-by-side view

--- a/src/lib/graph/StochasticNode.cc
+++ b/src/lib/graph/StochasticNode.cc
@@ -59,7 +59,7 @@
       _observed(data != 0 && length > 0), 
       _discrete(mkDiscrete(dist, parameters)), _parameters(nchain())
 {
-    if (checkNPar(dist, parameters.size())) {
+    if (!checkNPar(dist, parameters.size())) {
 	throw DistError(_dist, "Incorrect number of parameters");
     }
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks