quieted signed/unsigned comparison warning

This commit is contained in:
Mark Borgerding 2009-12-01 17:38:23 -05:00
parent 8fce0b5459
commit 0e8cd8de4d

View File

@ -110,7 +110,7 @@ void test_scalar_generic(int nfft)
// if we've asked for half-spectrum
fft.SetFlag(fft.HalfSpectrum );
fft.fwd( outbuf,inbuf);
VERIFY(outbuf.size() == (nfft>>1)+1);
VERIFY(outbuf.size() == (size_t)( (nfft>>1)+1) );
VERIFY( fft_rmse(outbuf,inbuf) < test_precision<T>() );// gross check
fft.ClearFlag(fft.HalfSpectrum );