- 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:
2019-05-25 14:20:21 +00:00
parent 93af373756
commit bedd7b0f00
2 changed files with 33 additions and 6 deletions
+2 -1
View File
@@ -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;
}
};