Minor fixes

Fixed integer vs unsigned integer comparison in .cpp test source and
trailing whitespaces in source code
This commit is contained in:
Alex Leontiev
2013-09-01 07:11:31 +08:00
parent 11fa0651c6
commit 1207cd132b
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
#define ABSCLIP(val,threshold) MIN(MAX((val),-(threshold)),(threshold))
namespace cv{namespace optim{
class AddFloatToCharScaled{
public:
AddFloatToCharScaled(float scale):_scale(scale){}
@@ -91,7 +91,7 @@ namespace cv{namespace optim{
float x_new = x_curr[x] + tau*(p_curr[x].y - p_prev[x].y)-tau*s;
// X = X2 + theta*(X2 - X)
x_curr[x] = x_new + theta*(x_new - x_curr[x]);
for(x = 1; x < cols; x++ )
{