Fix 10s/100s timeunits.

This commit is contained in:
Wilson Snyder
2020-05-11 08:15:52 -04:00
parent fac43811fd
commit 29695adf70
10 changed files with 140 additions and 80 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ VTimescale::VTimescale(const string& value, bool& badr)
: m_e(VTimescale::NONE) {
badr = true;
string spaceless = VString::removeWhitespace(value);
for (int i = TS_1S; i < _ENUM_END; ++i) {
for (int i = TS_100S; i < _ENUM_END; ++i) {
VTimescale ts(i);
if (spaceless == ts.ascii()) {
badr = false;