summaryrefslogtreecommitdiff
path: root/src/theory/uf
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2015-03-14 17:25:17 -0500
committerTianyi Liang <tianyi-liang@uiowa.edu>2015-03-14 17:25:17 -0500
commit26582bb779d06a6d1e83c1af546ad7ed673ee2e6 (patch)
tree6fe179e0b100b0fc117b05778a9020a9b8072d38 /src/theory/uf
parent01856989542f8c0e13ed11d0eec78cd122a2a7da (diff)
Patches for 32-bit ARM
Diffstat (limited to 'src/theory/uf')
-rw-r--r--src/theory/uf/theory_uf_strong_solver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/theory/uf/theory_uf_strong_solver.cpp b/src/theory/uf/theory_uf_strong_solver.cpp
index 9cb2b5b53..c15074d8c 100644
--- a/src/theory/uf/theory_uf_strong_solver.cpp
+++ b/src/theory/uf/theory_uf_strong_solver.cpp
@@ -199,7 +199,7 @@ struct sortExternalDegree {
int gmcCount = 0;
bool StrongSolverTheoryUF::SortModel::Region::getMustCombine( int cardinality ){
- if( options::ufssRegions() && d_total_diseq_external>=long(cardinality) ){
+ if( options::ufssRegions() && d_total_diseq_external>=unsigned(cardinality) ){
//The number of external disequalities is greater than or equal to cardinality.
//Thus, a clique of size cardinality+1 may exist between nodes in d_regions[i] and other regions
//Check if this is actually the case: must have n nodes with outgoing degree (cardinality+1-n) for some n>0
@@ -238,7 +238,7 @@ bool StrongSolverTheoryUF::SortModel::Region::getMustCombine( int cardinality ){
}
bool StrongSolverTheoryUF::SortModel::Region::check( Theory::Effort level, int cardinality, std::vector< Node >& clique ){
- if( d_reps_size>long(cardinality) ){
+ if( d_reps_size>unsigned(cardinality) ){
if( d_total_diseq_internal==d_reps_size*( d_reps_size - 1 ) ){
if( d_reps_size>1 ){
//quick clique check, all reps form a clique
@@ -254,9 +254,9 @@ bool StrongSolverTheoryUF::SortModel::Region::check( Theory::Effort level, int c
}
}else if( options::ufssRegions() || options::ufssEagerSplits() || level==Theory::EFFORT_FULL ){
//build test clique, up to size cardinality+1
- if( d_testCliqueSize<=long(cardinality) ){
+ if( d_testCliqueSize<=unsigned(cardinality) ){
std::vector< Node > newClique;
- if( d_testCliqueSize<long(cardinality) ){
+ if( d_testCliqueSize<unsigned(cardinality) ){
for( std::map< Node, RegionNodeInfo* >::iterator it = d_nodes.begin(); it != d_nodes.end(); ++it ){
//if not in the test clique, add it to the set of new members
if( it->second->d_valid && ( d_testClique.find( it->first )==d_testClique.end() || !d_testClique[ it->first ] ) ){
@@ -312,7 +312,7 @@ bool StrongSolverTheoryUF::SortModel::Region::check( Theory::Effort level, int c
}
}
//check if test clique has larger size than cardinality, and forms a clique
- if( d_testCliqueSize>=long(cardinality+1) && d_splitsSize==0 ){
+ if( d_testCliqueSize>=unsigned(cardinality+1) && d_splitsSize==0 ){
//test clique is a clique
for( NodeBoolMap::iterator it = d_testClique.begin(); it != d_testClique.end(); ++it ){
if( (*it).second ){
@@ -327,7 +327,7 @@ bool StrongSolverTheoryUF::SortModel::Region::check( Theory::Effort level, int c
}
bool StrongSolverTheoryUF::SortModel::Region::getCandidateClique( int cardinality, std::vector< Node >& clique ) {
- if( d_testCliqueSize>=long(cardinality+1) ){
+ if( d_testCliqueSize>=unsigned(cardinality+1) ){
//test clique is a clique
for( NodeBoolMap::iterator it = d_testClique.begin(); it != d_testClique.end(); ++it ){
if( (*it).second ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback