From 3e69770585234b6292c5de289439d654161a800e Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 24 Jul 2023 09:46:18 +0200 Subject: [PATCH] parser: Fix basic_scientific_numeral detection Signed-off-by: Simon Rozman --- include/stdex/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdex/parser.hpp b/include/stdex/parser.hpp index 995b3a3fe..ccf4194be 100644 --- a/include/stdex/parser.hpp +++ b/include/stdex/parser.hpp @@ -2108,7 +2108,7 @@ namespace stdex decimal->invalidate(); } - if (!integer->interval.empty() && + if (integer->interval.empty() && decimal->interval.empty()) { // No integer part, no decimal part.