CPP Test comparison util function fix

Change-Id: I6a9769efcef5f313eb318921275d37353df2b127
This commit is contained in:
prangana
2019-11-21 15:57:41 +05:30
parent ba86a38143
commit 33648bbf31

View File

@@ -162,7 +162,7 @@ int computeErrorM(
int i;
int ret = 0;
for ( i = 0; i < n; i ++ ) {
if ( (fabs( Y[ i ]) - fabs(Y_ref[ i ] ) ) > 0.00001) {
if ( (fabs( Y_ref[ i ]) - fabs(Y[ i ] ) ) > 0.00001) {
cout << Y[i] << Y_ref[i];
ret = 1;
break;