Removed the unnecessary typename in filtration-homology.cpp dev
authorDmitriy Morozov <dmitriy@mrzv.org>
Thu, 02 Sep 2010 09:13:42 -0700
branchdev
changeset 227 c1e2626cde8f
parent 226 574a165c0a9c
child 228 12e2daa0e03a
Removed the unnecessary typename in filtration-homology.cpp
examples/filtration/filtration-homology.cpp
--- a/examples/filtration/filtration-homology.cpp	Mon Aug 30 12:28:58 2010 -0700
+++ b/examples/filtration/filtration-homology.cpp	Thu Sep 02 09:13:42 2010 -0700
@@ -15,7 +15,7 @@
 typedef         Simplex<Vertex>                                         Smplx;
 typedef         Filtration<Smplx>                                       Fltr;
 typedef         DynamicPersistenceChains<>                              Persistence;
-typedef         typename Persistence::Chain                             Chain;
+typedef         Persistence::Chain                                      Chain;
 typedef         PersistenceDiagram<>                                    PDgm;
 
 void            program_options(int argc, char* argv[], std::string& infilename, Dimension& skeleton, std::string& diagram_name, Dimension& cycle_dimension, std::string& cycle_filename);
@@ -135,6 +135,6 @@
 void    output_chain(std::ostream& out, const Chain& chain, const Persistence& persistence)
 {
     out << "---\n";
-    for (typename Chain::const_iterator iter = chain.begin(); iter != chain.end(); ++iter)
+    for (Chain::const_iterator iter = chain.begin(); iter != chain.end(); ++iter)
         out << persistence.iterator_to(*iter) - persistence.begin() << '\n';
 }