Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5c09c76f authored by hhakim's avatar hhakim
Browse files

Enlarge a little bit the error tolerance for matlab testFourier.

parent c922719b
No related branches found
No related tags found
No related merge requests found
Pipeline #834154 skipped
......@@ -496,7 +496,7 @@ classdef FaustFactoryTest < matlab.unittest.TestCase
fF = full(F);
fftI = fft(eye(n));
% this.verifyEqual(nnz(fH), numel(fH));
this.verifyEqual(norm(fF-fftI), 0, 'AbsTol', 10^-12);
this.verifyEqual(norm(fF-fftI), 0, 'AbsTol', 10^-11);
this.assertEqual(full(dft(n)), full(normalize(F)), 'AbsTol', 10^-7)
this.assertEqual(full(dft(n, 'normed', false)), full(F), 'AbsTol', 10^-7)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment