# HG changeset patch # User Alpar Juttner # Date 1539795399 -7200 # Node ID f425c93848fa0163a84c3c48512e4f8fdb003513 # Parent 2e0c2c25d63e6b93207ba27f03eb59e6c26cb19a# Parent ad22262328b3fbdec2b41f70fa65a65b9ccf752b Merge #1.3 related bugfix heads diff -r 2e0c2c25d63e -r f425c93848fa tools/dimacs-solver.cc --- a/tools/dimacs-solver.cc Wed Oct 17 18:56:32 2018 +0200 +++ b/tools/dimacs-solver.cc Wed Oct 17 18:56:39 2018 +0200 @@ -222,11 +222,13 @@ if (!output) { throw IoError("Cannot open the file for writing", ap.files()[1]); } + // fall through case 1: input.open(ap.files()[0].c_str()); if (!input) { throw IoError("File cannot be found", ap.files()[0]); } + // fall through case 0: break; default: @@ -251,6 +253,7 @@ break; case DimacsDescriptor::SP: std::cout << "sp"; + break; case DimacsDescriptor::MAT: std::cout << "mat"; break;