Skip to content

Commit

Permalink
🚨 fixed a compilation issue with ICPC #755
Browse files Browse the repository at this point in the history
Closes #1222
  • Loading branch information
nlohmann committed Sep 29, 2018
1 parent b59a584 commit c61a907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nlohmann/detail/output/serializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c61a907

Please sign in to comment.