print sdg_hv when use_hv is true

This commit is contained in:
Sandeep Kumar Dey 2013-01-30 18:50:44 +01:00 committed by Panagiotis Cheilaris
parent c3c28d9eb8
commit 4d17f4a5ee
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@ int main( int argc, char *argv[] ) {
"data/sites2.cin" : (fileat == 1) ? argv[1] : argv[2]) << std::endl :
std::cout << "About to print sdg for input file: " << ((fileat == 0) ?
"data/sites2.cin" : (fileat == 1) ? argv[1] : argv[2]) << std::endl ;
sdg.file_output_verbose(std::cout);
(use_hv) ?
sdg_hv.file_output_verbose(std::cout):
sdg.file_output_verbose(std::cout) ;
return 0;
}