Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 746b0b90 authored by hhakim's avatar hhakim
Browse files

Fix minor error in (matlab) FaustTest.testDensity.

parent 0f85566b
Branches
Tags
No related merge requests found
...@@ -237,7 +237,7 @@ classdef FaustTest < matlab.unittest.TestCase ...@@ -237,7 +237,7 @@ classdef FaustTest < matlab.unittest.TestCase
disp('testDensity()') disp('testDensity()')
ref_nlines = size(this.factors{1},1) ref_nlines = size(this.factors{1},1)
ref_ncols = size(this.factors{this.num_factors},2) ref_ncols = size(this.factors{this.num_factors},2)
this.verifyEqual(nnzero_count(this.factors)/ref_nlines/ref_ncols, density(this.test_faust), 'AbsTol', 0.01) this.verifyEqual(FaustTest.nnzero_count(this.factors)/ref_nlines/ref_ncols, density(this.test_faust), 'AbsTol', 0.01)
end end
function testrcg(this) function testrcg(this)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment