examples/pl-functions/pl-vineyard.cpp
branchdev
changeset 244 66235db8d8b7
parent 1830ca59b0ebc47
       1 --- a/examples/pl-functions/pl-vineyard.cpp	Sun Dec 20 10:43:00 2009 -0800
       2 +++ b/examples/pl-functions/pl-vineyard.cpp	Mon Jul 25 23:21:29 2011 -0700
       3 @@ -15,7 +15,7 @@
       4  namespace bl = boost::lambda;
       5  
       6  
       7 -typedef     float                                       VertexValue;
       8 +typedef     double                                      VertexValue;
       9  typedef     unsigned                                    Vertex;
      10  typedef     std::vector<VertexValue>                    VertexVector;
      11  struct SubscriptFunctor: public std::unary_function<Vertex, VertexValue>
      12 @@ -74,7 +74,7 @@
      13      for (size_t i = 1; i < vertices.size(); ++i)
      14      {
      15          veval = VertexEvaluator(vertices[i]);
      16 -        v.compute_vineyard(veval, explicit_events);
      17 +        v.compute_vineyard(veval);
      18          std::cout << "Processed frame: " << i << std::endl;
      19      }
      20      std::cout << "Vineyard computed" << std::endl;