Commit b421eed6 authored by Johan Richard's avatar Johan Richard
Browse files

corrected bug in bayesCl.c

parent 634fb08c
......@@ -33,7 +33,6 @@
static void snake(int verbose);
static void marchingSquares(int verbose);
static void cl_connectdots(int verbose);
void criticnew(int verbose)
{
......@@ -47,8 +46,6 @@ void criticnew(int verbose)
else
{
marchingSquares(verbose);
w_critic();
cl_connectdots(verbose);
}
}
......@@ -571,7 +568,7 @@ static void marchingSquares(int verbose)
}
}
static void cl_connectdots(int verbose)
void cl_connectdots(int verbose)
{
extern struct g_cline CL;
extern struct biline radial[], tangent[];
......
......@@ -173,6 +173,8 @@ int main(int argc, char *argv[])
if ( G.nlens > 0 )
{
criticnew(1);
w_critic();
};
// if there is only 1 clump
......@@ -181,7 +183,10 @@ int main(int argc, char *argv[])
/* calcul des zones d'images multiples */
if ( CL.zone != 0 )
{
cl_connectdots(1);
zonemult();
}
}
if ( M.marker != 0 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment