🚨 fixing last warning in #755
This commit is contained in:
parent
4e81c1db47
commit
5cb6d7187d
1 changed files with 1 additions and 1 deletions
|
@ -6656,7 +6656,7 @@ class serializer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool is_negative = std::is_same<NumberType, number_integer_t>::value and (x < 0);
|
const bool is_negative = (x <= 0) and (x != 0); // see issue #755
|
||||||
std::size_t i = 0;
|
std::size_t i = 0;
|
||||||
|
|
||||||
while (x != 0)
|
while (x != 0)
|
||||||
|
|
Loading…
Reference in a new issue