--- a/src/modules/glm/samplers/Linear.cc
+++ b/src/modules/glm/samplers/Linear.cc
@@ -2,7 +2,7 @@
 
 #include "Linear.h"
 #include <graph/StochasticNode.h>
-#include <sampler/GraphView.h>
+#include <sampler/SingletonGraphView.h>
 
 using std::vector;
 using std::string;
@@ -11,7 +11,7 @@
 namespace glm {
 
     Linear::Linear(GraphView const *view, 
-		   vector<GraphView const *> const &sub_views,
+		   vector<SingletonGraphView const *> const &sub_views,
 		   vector<Outcome*> const &outcomes,
 		   unsigned int chain, bool gibbs)
 	: GLMMethod(view, sub_views, outcomes, chain, false), _gibbs(gibbs)