mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 21:50:52 +00:00
seq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
34cc60410f
commit
fc8dfe3e40
5 changed files with 50 additions and 47 deletions
|
@ -1739,7 +1739,7 @@ br_status seq_rewriter::mk_str_lt(expr* a, expr* b, expr_ref& result) {
|
|||
br_status seq_rewriter::mk_str_from_code(expr* a, expr_ref& result) {
|
||||
rational r;
|
||||
if (m_autil.is_numeral(a, r)) {
|
||||
if (r.is_neg() || r > m_util.str.max_char_value()) {
|
||||
if (r.is_neg() || r > zstring::max_char()) {
|
||||
result = m_util.str.mk_string(symbol(""));
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue