[Lemon-commits] Alpar Juttner: Merge #1.3 related bugfix heads
Lemon HG
hg at lemon.cs.elte.hu
Wed Oct 17 20:07:37 CEST 2018
details: http://lemon.cs.elte.hu/hg/lemon/rev/f425c93848fa
changeset: 1395:f425c93848fa
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Wed Oct 17 18:56:39 2018 +0200
description:
Merge #1.3 related bugfix heads
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