Skip to content
Snippets Groups Projects
Commit 8b92a60b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 067457c5
No related branches found
No related tags found
No related merge requests found
...@@ -393,7 +393,7 @@ void Recombinator::patern3(GRegion* gr){ ...@@ -393,7 +393,7 @@ void Recombinator::patern3(GRegion* gr){
} }
void Recombinator::merge(GRegion* gr){ void Recombinator::merge(GRegion* gr){
size_t i; unsigned int i;
int count; int count;
bool flag; bool flag;
double threshold; double threshold;
...@@ -453,7 +453,7 @@ void Recombinator::merge(GRegion* gr){ ...@@ -453,7 +453,7 @@ void Recombinator::merge(GRegion* gr){
} }
if(flag){ if(flag){
printf("%d - %zu/%zu - %f\n",count,i,potential.size(),hex.get_quality()); printf("%d - %d/%d - %f\n",count,i,(int)potential.size(),hex.get_quality());
quality = quality + hex.get_quality(); quality = quality + hex.get_quality();
for(it=parts.begin();it!=parts.end();it++){ for(it=parts.begin();it!=parts.end();it++){
element = *it; element = *it;
...@@ -1122,7 +1122,7 @@ void Recombinator::print_vertex_to_elements(GRegion* gr){ ...@@ -1122,7 +1122,7 @@ void Recombinator::print_vertex_to_elements(GRegion* gr){
vertex = element->getVertex(j); vertex = element->getVertex(j);
it = vertex_to_elements.find(vertex); it = vertex_to_elements.find(vertex);
it2 = vertex_to_vertices.find(vertex); it2 = vertex_to_vertices.find(vertex);
printf("%zu %zu\n",(it->second).size(),(it2->second).size()); printf("%d %d\n",(int)(it->second).size(),(int)(it2->second).size());
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment