Diff of /src/modules/glm/samplers/AMFactory.cc [4b7451] .. [4634c7]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/glm/samplers/AMFactory.cc
+++ b/src/modules/glm/samplers/AMFactory.cc
@@ -14,6 +14,7 @@
 #include <graph/StochasticNode.h>
 #include <graph/LinkNode.h>
 #include <distribution/Distribution.h>
+#include <sampler/GraphView.h>
 #include <module/ModuleError.h>
 
 using std::string;
@@ -35,13 +36,14 @@
     
     GLMMethod *
     AMFactory::newMethod(GraphView const *view,
-			 vector<GraphView const *> const &sub_views,
+			 vector<SingletonGraphView const *> const &sub_views,
 			 unsigned int chain) const
     {
 	bool linear = true;
 	vector<Outcome*> outcomes;
 
-	for (vector<StochasticNode *>::const_iterator p = view->stochasticChildren().begin();
+	for (vector<StochasticNode *>::const_iterator 
+		 p = view->stochasticChildren().begin();
 	     p != view->stochasticChildren().end(); ++p)
 	{
 	    Outcome *outcome = 0;

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks