diff options
Diffstat (limited to 'sim/param.cc')
-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 d16578a2d..ff023ce85 100644 --- a/sim/param.cc +++ b/sim/param.cc @@ -441,6 +441,11 @@ EnumVectorParam<Map>::parse(const string &s) { vector<string> tokens; + if (s.empty()) { + wasSet = true; + return; + } + tokenize(tokens, s, ' '); value.resize(tokens.size()); |