--- 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';
}