--- a/src/modules/glm/samplers/AlbertChibGibbsFactory.cc
+++ b/src/modules/glm/samplers/AlbertChibGibbsFactory.cc
@@ -14,7 +14,7 @@
 
     GLMMethod *
     AlbertChibGibbsFactory::newBinary(GraphView const *view,
-				      vector<GraphView const *> const &sub_views,
+				      vector<SingletonGraphView const *> const &sub_views,
 				      vector<Outcome *> const &outcomes,
 				      unsigned int chain) const
     {