**/
#include "theory/quantifiers/fmf/ambqi_builder.h"
+
+#include "base/cvc4_check.h"
#include "options/quantifiers_options.h"
#include "theory/quantifiers/instantiate.h"
#include "theory/quantifiers/term_database.h"
}else{
TypeNode tn = m->getVariable( q, depth ).getType();
if( v==depth ){
- unsigned numReps = m->getRepSet()->getNumRepresentatives(tn);
- Assert( numReps>0 && numReps < 32 );
+ const unsigned numReps = m->getRepSet()->getNumRepresentatives(tn);
+ CVC4_CHECK(numReps > 0 && numReps < 32);
for( unsigned i=0; i<numReps; i++ ){
d_def[ 1 << i ].construct_var( m, q, v, i, depth+1 );
}