🚨 fixed a compilation issue with ICPC #755

Closes #1222
This commit is contained in:
Niels Lohmann 2018-09-29 11:50:14 +02:00
parent b59a58406e
commit c61a9071ae
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -442,7 +442,7 @@ class serializer
return;
}
const bool is_negative = (x <= 0) and (x != 0); // see issue #755
const bool is_negative = not (x >= 0); // see issue #755
std::size_t i = 0;
while (x != 0)