Commit a1fd9491 authored by Dominik Charousset's avatar Dominik Charousset Committed by Dominik Charousset

Fix typo in assert

parent b901e279
...@@ -90,7 +90,7 @@ void read_number(state<Iterator, Sentinel>& ps, Consumer& consumer) { ...@@ -90,7 +90,7 @@ void read_number(state<Iterator, Sentinel>& ps, Consumer& consumer) {
}); });
// Switches from parsing an integer to parsing a double. // Switches from parsing an integer to parsing a double.
auto ch_res = [&](result_type_t x) { auto ch_res = [&](result_type_t x) {
CAF_ASSERT(result_type = integer); CAF_ASSERT(result_type == integer);
result_type = x; result_type = x;
// We parse doubles as positive number and restore the sign in `g`. // We parse doubles as positive number and restore the sign in `g`.
dbl_res = result_type == negative_double dbl_res = result_type == negative_double
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment