Minor opus_compare fix
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Thu, 27 Jan 2011 20:50:27 +0000 (15:50 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Thu, 27 Jan 2011 20:50:27 +0000 (15:50 -0500)
tools/opus_compare.m

index 86daa27..fc0f383 100644 (file)
@@ -58,7 +58,7 @@ printf("Average pseudo-NMR: %3.2f dB\n", mean(mean(10*log10(NMR))));
 
 if (sum(sum(weight))<1)
    printf("Mismatch level: below noise floor\n");
-   err = -100*ones(size(NMR));
+   err = -100;
 else
    M = (T0./NMR) .* weight;