diff options
Diffstat (limited to 'utils/sofa-info.cpp')
-rw-r--r-- | utils/sofa-info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sofa-info.cpp b/utils/sofa-info.cpp index 7f37a5a5..b7346939 100644 --- a/utils/sofa-info.cpp +++ b/utils/sofa-info.cpp @@ -237,7 +237,7 @@ static void PrintCompatibleLayout(const uint m, const float *xyzs) { 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; |