Skip to content

Commit

Permalink
Merge 8d86684 into fca90c6
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan committed Apr 13, 2023
2 parents fca90c6 + 8d86684 commit ad48e2f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/mcsat/uf/uf_plugin.c
Expand Up @@ -343,7 +343,7 @@ void uf_plugin_propagate(plugin_t* plugin, trail_token_t* prop) {

// Propagate known terms
eq_graph_propagate_trail(&uf->eq_graph);
bool eq_propagated = uf_plugin_process_eq_graph_propagations(uf, prop);
uf_plugin_process_eq_graph_propagations(uf, prop);

// Check for conflicts
if (uf->eq_graph.in_conflict) {
Expand Down Expand Up @@ -374,9 +374,7 @@ void uf_plugin_propagate(plugin_t* plugin, trail_token_t* prop) {
}
}

// skip array propagation if the EQ has done propgation
// check array propgation only if array terms are present
if (!eq_propagated && all_assigned) {
if (all_assigned) {
assert(uf->conflict.size == 0);
weq_graph_check_array_conflict(&uf->weq_graph, &uf->conflict);
if (uf->conflict.size > 0) {
Expand Down

0 comments on commit ad48e2f

Please sign in to comment.