diff --git a/sim/param.cc b/sim/param.cc index 4f9d0a577e..84ecbf8f96 100644 --- a/sim/param.cc +++ b/sim/param.cc @@ -211,6 +211,11 @@ template void VectorParam::parse(const string &s) { + if (s.empty()) { + wasSet = true; + return; + } + vector tokens; tokenize(tokens, s, ' ');