diff options
author | Chris Robinson <[email protected]> | 2019-12-08 19:23:16 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-08 19:23:16 -0800 |
commit | f4b3c3b4da3718ea76c5a07045aca73f32a38e9c (patch) | |
tree | 87297fef65d9392659109f90f116fa79d911ab4e /utils/makemhr | |
parent | 7ded42cb94d555b33891f59ec7fc86b710318ebb (diff) |
Simplify a check
Diffstat (limited to 'utils/makemhr')
-rw-r--r-- | utils/makemhr/loadsofa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/makemhr/loadsofa.cpp b/utils/makemhr/loadsofa.cpp index e2f2e232..b5dcf2ef 100644 --- a/utils/makemhr/loadsofa.cpp +++ b/utils/makemhr/loadsofa.cpp @@ -227,7 +227,7 @@ static bool PrepareLayout(const uint m, const float *xyzs, HrirDataT *hData) { auto azims = GetUniquelySortedElems(aers, 0, {nullptr, &ev, &dist}, {0.1, 0.1, 0.001}); - if(std::abs(90.0 - std::abs(ev)) < 0.1) + if(std::abs(ev) > 89.999) return azims.size() != 1; if(azims.empty() || !(std::abs(azims[0]) < 0.1)) return true; |