[Lemon-commits] Alpar Juttner: Merge bugfix #609 to branch 1.3
Lemon HG
hg at lemon.cs.elte.hu
Fri Mar 23 16:14:08 CET 2018
details: http://lemon.cs.elte.hu/hg/lemon/rev/f0f15d07bf51
changeset: 1390:f0f15d07bf51
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Fri Mar 23 16:09:06 2018 +0100
description:
Merge bugfix #609 to branch 1.3
diffstat:
tools/dimacs-solver.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (25 lines):
diff --git a/tools/dimacs-solver.cc b/tools/dimacs-solver.cc
--- a/tools/dimacs-solver.cc
+++ b/tools/dimacs-solver.cc
@@ -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;
More information about the Lemon-commits
mailing list