Fix diagnostic output.

Conflicts:
	applications/3d_torus/3d_torus.cpp