projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2cdd4f
)
Fixing silent bug for not finding the tuner
author
Hamed Gorjiara
<hgorjiar@uci.edu>
Wed, 16 Oct 2019 03:17:08 +0000
(20:17 -0700)
committer
Hamed Gorjiara
<hgorjiar@uci.edu>
Wed, 16 Oct 2019 03:17:08 +0000
(20:17 -0700)
src/Tuner/serializetuner.cc
patch
|
blob
|
history
diff --git
a/src/Tuner/serializetuner.cc
b/src/Tuner/serializetuner.cc
index db043fb2e786b40374fded445b87393f44433aa7..118cb821ab203af6b383754162b2b5c959e68a07 100644
(file)
--- a/
src/Tuner/serializetuner.cc
+++ b/
src/Tuner/serializetuner.cc
@@
-29,7
+29,8
@@
SerializeTuner::SerializeTuner(const char *filename) {
}
myfile.close();
} else {
- model_print("Warning: Tuner %s couldn't be loaded ... Using default tuner instead ....\n", filename);
+ model_print("Error: Tuner %s cannot be found ...\n", filename);
+ exit(1);
}
}