Skip to content

Commit 7355e05

Browse files
committed
fix: argument type mismatch
1 parent e6ad714 commit 7355e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jmetrics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ float metric_mpe(const unsigned char *original, const unsigned char *compressed,
9292
{
9393
for (z = 0; z < components; z++)
9494
{
95-
delta = abs((float)original[k] - (float)compressed[k]);
95+
delta = abs(original[k] - compressed[k]);
9696
pmel += delta;
9797
k++;
9898
}

0 commit comments

Comments
 (0)