Sophie

Sophie

distrib > Mageia > 8 > armv7hl > by-pkgid > f69ae0739490cf41fb5005796733ef52 > files > 19

chromium-browser-stable-109.0.5414.74-1.mga8.src.rpm

--- patch107/third_party/tflite_support/src/tensorflow_lite_support/cc/task/core/category.h	2022-10-12 20:53:09.062844000 +0200
+++ patch107/third_party/tflite_support/src/tensorflow_lite_support/cc/task/core/category.h.std-abs	2022-10-17 08:58:26.673918308 +0200
@@ -33,7 +33,7 @@ struct Category {
   friend bool operator==(const Category& lhs, const Category& rhs) {
     constexpr const double kScoreTolerance = 1e-6;
     return lhs.class_name == rhs.class_name &&
-           abs((double)(lhs.score - rhs.score)) <= kScoreTolerance;
+           std::abs((double)(lhs.score - rhs.score)) <= kScoreTolerance;
   }
 
   friend bool operator!=(const Category& lhs, const Category& rhs) {