diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/param.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/param.cc b/sim/param.cc index 4f9d0a577..84ecbf8f9 100644 --- a/sim/param.cc +++ b/sim/param.cc @@ -211,6 +211,11 @@ template <class T> void VectorParam<T>::parse(const string &s) { + if (s.empty()) { + wasSet = true; + return; + } + vector<string> tokens; tokenize(tokens, s, ' '); |