Diff of /src/modules/bugs/distributions/DSum.cc [f7ebb4] .. [1e595d]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/bugs/distributions/DSum.cc
+++ b/src/modules/bugs/distributions/DSum.cc
@@ -35,7 +35,7 @@
 	    s -= par[j][i];
 	}
 	if (fabs(s) > tol) {
-	    throwDistError(this, "Inconsistent arguments for logDensity");
+	    return JAGS_NEGINF;
 	}
     }
     return 0;

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

Sign up for the SourceForge newsletter:





No, thanks