diff --git a/include/scea/algo/tc.hpp b/include/scea/algo/tc.hpp index f081885..76ee4a9 100644 --- a/include/scea/algo/tc.hpp +++ b/include/scea/algo/tc.hpp @@ -48,7 +48,7 @@ class TriangleCounting : public Algo { void operator()(scea::graph::MutableGraph& g) override { compute(g); } void operator()(scea::graph::MutableGraph& g, std::ostream& output) override { - auto ans = compute(g); + auto answer = compute(g); output << "Number of triangles: " << ans << std::endl; } };