fixed several gcc 4.1 warnings
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
int sign(float r){
|
||||
static inline int sign(float r){
|
||||
if(r > 0.0001f) return 1;
|
||||
if(r < -0.0001f) return -1;
|
||||
return 0;
|
||||
@@ -574,4 +574,4 @@ int addBordersToFeatureMaps(CvLSVMFeatureMap *map, const int bX, const int bY){
|
||||
map->Map = new_data;
|
||||
|
||||
return LATENT_SVM_OK;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user