diff options
author | simon | 2009-09-08 09:59:01 +0000 |
---|---|---|
committer | simon | 2009-09-08 09:59:01 +0000 |
commit | 9ee831e6fa02e1150a08bf31f31cf291551f078d (patch) | |
tree | 6b3386ab2b45f145435c1c14fb2850929a8e0153 /src/c/signalProcessing/conv2d/testFloatConv2d.c | |
parent | 5b039b5b51970dd1fe3f961f80a27b1fdbea1569 (diff) | |
download | scilab2c-9ee831e6fa02e1150a08bf31f31cf291551f078d.tar.gz scilab2c-9ee831e6fa02e1150a08bf31f31cf291551f078d.tar.bz2 scilab2c-9ee831e6fa02e1150a08bf31f31cf291551f078d.zip |
automated tests
Diffstat (limited to 'src/c/signalProcessing/conv2d/testFloatConv2d.c')
-rw-r--r-- | src/c/signalProcessing/conv2d/testFloatConv2d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/signalProcessing/conv2d/testFloatConv2d.c b/src/c/signalProcessing/conv2d/testFloatConv2d.c index b812c465..0166804a 100644 --- a/src/c/signalProcessing/conv2d/testFloatConv2d.c +++ b/src/c/signalProcessing/conv2d/testFloatConv2d.c @@ -88,8 +88,8 @@ static void cconv2daTest(void){ in2=FloatComplexMatrix(rin2,iin2,16); cconv2da(in1,2,2,in2,4,4,out); for (i=0;i<25;i++){ - assert( ( fabs(creals(out[i])-rres[i]) / fabs(creals(out[i])) ) <3e-6); - assert( ( fabs(cimags(out[i])-ires[i]) / fabs(cimags(out[i])) ) <1e-7); + assert( ( fabs(creals(out[i])-rres[i]) / fabs(creals(out[i])) ) <3e-5); + assert( ( fabs(cimags(out[i])-ires[i]) / fabs(cimags(out[i])) ) <1e-5); } } |