3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-15 22:55:33 +00:00
This commit is contained in:
CEisenhofer 2026-04-08 09:27:46 +02:00
parent f895548154
commit c7e7b40d40
3 changed files with 9 additions and 3 deletions

View file

@ -47,7 +47,6 @@ namespace euf {
snode_kind sgraph::classify(expr* e) const {
if (!is_app(e))
return snode_kind::s_var;
if (m_seq.str.is_empty(e))
return snode_kind::s_empty;
@ -339,6 +338,8 @@ namespace euf {
compute_metadata(n);
compute_hash_matrix(n);
m_nodes.push_back(n);
SASSERT(!n->is_char_or_unit() || m_seq.str.is_unit(n->get_expr()));
if (e) {
unsigned eid = e->get_id();
m_expr2snode.reserve(eid + 1, nullptr);

View file

@ -27,6 +27,7 @@ Author:
#include "util/region.h"
#include "ast/ast.h"
#include "ast/seq_decl_plugin.h"
#include "ast/rewriter/seq_axioms.h"
namespace euf {
@ -88,8 +89,9 @@ namespace euf {
n->m_kind = k;
n->m_id = id;
n->m_num_args = num_args;
for (unsigned i = 0; i < num_args; ++i)
for (unsigned i = 0; i < num_args; ++i) {
n->m_args[i] = args[i];
}
return n;
}