fix ci error

This commit is contained in:
Qianqian Fang 2022-05-22 00:50:42 -04:00
parent 7269b88729
commit 0ef937394e
2 changed files with 2 additions and 8 deletions

View File

@ -2249,11 +2249,8 @@ class binary_reader
return sax->parse_error(chars_read, get_token_string(), parse_error::create(112, chars_read, return sax->parse_error(chars_read, get_token_string(), parse_error::create(112, chars_read,
exception_message(input_format, "ndarray can not be recursive", "size"), nullptr)); exception_message(input_format, "ndarray can not be recursive", "size"), nullptr));
} }
else
{
result.second |= (1 << 8); // use bit 8 to indicate ndarray, all UBJSON and BJData markers should be ASCII letters result.second |= (1 << 8); // use bit 8 to indicate ndarray, all UBJSON and BJData markers should be ASCII letters
} }
}
return is_error; return is_error;
} }

View File

@ -10732,11 +10732,8 @@ class binary_reader
return sax->parse_error(chars_read, get_token_string(), parse_error::create(112, chars_read, return sax->parse_error(chars_read, get_token_string(), parse_error::create(112, chars_read,
exception_message(input_format, "ndarray can not be recursive", "size"), nullptr)); exception_message(input_format, "ndarray can not be recursive", "size"), nullptr));
} }
else
{
result.second |= (1 << 8); // use bit 8 to indicate ndarray, all UBJSON and BJData markers should be ASCII letters result.second |= (1 << 8); // use bit 8 to indicate ndarray, all UBJSON and BJData markers should be ASCII letters
} }
}
return is_error; return is_error;
} }