summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/division/testMatrixRDivision.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/matrixOperations/division/testMatrixRDivision.c')
-rw-r--r--src/c/matrixOperations/division/testMatrixRDivision.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c/matrixOperations/division/testMatrixRDivision.c b/src/c/matrixOperations/division/testMatrixRDivision.c
index 242d5189..9f4bf279 100644
--- a/src/c/matrixOperations/division/testMatrixRDivision.c
+++ b/src/c/matrixOperations/division/testMatrixRDivision.c
@@ -439,16 +439,16 @@ static void zrdivmaTest ( void ){
/* if we don't add that test assert failed if result = 0 'cause then we have |(out - 0)|/|out| = 1*/
- if ( zreals(out[i]) < 1e-16 && zreals (Result[i]) < 1e-18 )
+ if ( zreals(out[i]) < 1e-16 && zreals (Result[i]) < 1e-16 )
assert ( 1 ) ;
else
- assert ( fabs( zreals(out[i]) - zreals (Result[i]) ) / fabs (zreals (out[i])) < 3e-16 );
+ assert ( fabs( zreals(out[i]) - zreals (Result[i]) ) / fabs (zreals (out[i])) < 3e-15 );
- if ( zimags(out[i]) < 1e-16 && zimags (Result[i]) < 1e-18 )
+ if ( zimags(out[i]) < 1e-16 && zimags (Result[i]) < 1e-16 )
assert ( 1 ) ;
else
- assert ( fabs( zimags(out[i]) - zimags (Result[i]) ) / fabs (zimags (out[i])) < 3e-16 ) ;
+ assert ( fabs( zimags(out[i]) - zimags (Result[i]) ) / fabs (zimags (out[i])) < 3e-15 ) ;
}