- reenabled intersection test
git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@469 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -35,6 +35,7 @@ namespace jay {
|
||||
float half_width;
|
||||
float height_rel;
|
||||
float height_abs;
|
||||
bool isConfirmed;
|
||||
|
||||
bool isInRange(const Peak &other)
|
||||
{
|
||||
@@ -49,7 +50,7 @@ namespace jay {
|
||||
half_width = alpha*half_width + beta*other.half_width;
|
||||
height_rel = std::max(height_rel, other.height_rel);
|
||||
height_abs = std::max(height_abs, other.height_abs);
|
||||
|
||||
isConfirmed = true;
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user