Skip to content

Commit

Permalink
Re #8710 better printTree
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Leal committed Jan 15, 2014
1 parent 0caf489 commit 27ae32c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -458,7 +458,7 @@ void CompAssembly::printTree(std::ostream& os) const
{
boost::shared_ptr<IComponent> it = (*this)[i];
const CompAssembly* test=dynamic_cast<CompAssembly*>(it.get());
os << "Element " << i++ << " in the assembly : ";
os << "Element " << i << " from " << nelements() << " in the assembly : ";
if (test)
{
os << test->getName() << std::endl;
Expand Down

0 comments on commit 27ae32c

Please sign in to comment.