Commit cd8c1a81 authored by flechsig's avatar flechsig
Browse files

minor code fix

parent b97d9ed1
// File : /afs/psi.ch/user/f/flechsig/phase/src/phaseqt/unwrap_phase.cpp
// Date : <26 Mar 14 09:31:57 flechsig>
// Time-stamp: <13 Mar 19 09:09:57 flechsig>
// Time-stamp: <13 Mar 19 09:38:14 flechsig>
// Author : Uwe Flechsig, uwe.flechsig&#64;psi.&#99;&#104;
// $Source: /cvs/X/OL/WFI/src/unwrap_phase.cpp,v $
......@@ -251,7 +251,7 @@ int find_wrap(double pixelL_value, double pixelR_value)
yes_no find_pivot(EDGE *left, EDGE *right, double *pivot_ptr)
{
EDGE a, b, c, *p;
a = *left;
b = *(left + (right - left) /2 );
c = *right;
......@@ -278,6 +278,8 @@ yes_no find_pivot(EDGE *left, EDGE *right, double *pivot_ptr)
}
return no;
}
cout << "!!! ERROR: this code should never be reached !!!" << endl;
return no; // default to avoid compiler warning
} // end find pivot
EDGE *partition(EDGE *left, EDGE *right, double pivot)
......
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