diff --git a/cxx/clean_relation.hh b/cxx/clean_relation.hh index e9e1757..a4256b6 100644 --- a/cxx/clean_relation.hh +++ b/cxx/clean_relation.hh @@ -391,12 +391,8 @@ class CleanRelation : public Relation { void set_cluster_assignment_gibbs(const Domain& domain, const T_item& item, int table, std::mt19937* prng) { - int table_current = domain.get_cluster_assignment(item); - if (table == table_current) { - printf("table %d == table_current in set_cluster_assignment_gibbs\n", - table); - assert(false); - } + [[maybe_unused]] int table_current = domain.get_cluster_assignment(item); + assert(table != table_current); for (const T_items& items : data_r.at(domain.name).at(item)) { ValueType x = data.at(items); // Remove from current cluster.