[CodeClean] cast to double
authorJaeyun Jung <jy1210.jung@samsung.com>
Wed, 26 Jun 2024 05:37:39 +0000 (14:37 +0900)
committerSangjung Woo <again4you@gmail.com>
Thu, 11 Jul 2024 09:30:38 +0000 (18:30 +0900)
Code clean, fix invalid cast to double type.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/nnstreamer/tensor_filter/tensor_filter.c

index 5a29686..d766e3a 100644 (file)
@@ -491,7 +491,7 @@ track_latency (GstTensorFilter * self)
 
   if ((priv->latency_reporting) && (estimated > 0)) {
     if (reported > 0)
-      deviation = ABS (estimated - reported) / reported;
+      deviation = (gdouble) ABS (estimated - reported) / reported;
     else
       deviation = 0;