Merge bugfix #609 to branch 1.3 1.3
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 23 Mar 2018 16:09:06 +0100
branch1.3
changeset 1165f0f15d07bf51
parent 1158 6d1255299e79
parent 1164 ad22262328b3
child 1166 411819b8702c
Merge bugfix #609 to branch 1.3
     1.1 --- a/tools/dimacs-solver.cc	Tue Sep 19 15:22:08 2017 +0200
     1.2 +++ b/tools/dimacs-solver.cc	Fri Mar 23 16:09:06 2018 +0100
     1.3 @@ -222,11 +222,13 @@
     1.4        if (!output) {
     1.5          throw IoError("Cannot open the file for writing", ap.files()[1]);
     1.6        }
     1.7 +      // fall through
     1.8      case 1:
     1.9        input.open(ap.files()[0].c_str());
    1.10        if (!input) {
    1.11          throw IoError("File cannot be found", ap.files()[0]);
    1.12        }
    1.13 +      // fall through
    1.14      case 0:
    1.15        break;
    1.16      default:
    1.17 @@ -251,6 +253,7 @@
    1.18            break;
    1.19          case DimacsDescriptor::SP:
    1.20            std::cout << "sp";
    1.21 +          break;
    1.22          case DimacsDescriptor::MAT:
    1.23            std::cout << "mat";
    1.24            break;