fix float check logic

Co-authored-by: hnboy <hnywolf@gmail.ccom>
This commit is contained in:
Eric_Luo 2023-05-17 00:43:04 +08:00 committed by GitHub
parent d68f8ea668
commit b5b9af508a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ bool isNumber(const std::string& str, bool allowfloat) {
if (point)
return false;
point = true;
break;
continue;
}
if (!std::isdigit(c))