From 0efc775370d2ff91927d1b383a99eab78dc5538f Mon Sep 17 00:00:00 2001 From: leochanj Date: Wed, 21 Oct 2020 01:52:54 -0400 Subject: debug libextra and remove matlab FLUSH_CACHES --- .../benchmarks/localization/src/matlab/selfCheck.m | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 SD-VBS/benchmarks/localization/src/matlab/selfCheck.m (limited to 'SD-VBS/benchmarks/localization/src/matlab/selfCheck.m') diff --git a/SD-VBS/benchmarks/localization/src/matlab/selfCheck.m b/SD-VBS/benchmarks/localization/src/matlab/selfCheck.m deleted file mode 100644 index ac80ebd..0000000 --- a/SD-VBS/benchmarks/localization/src/matlab/selfCheck.m +++ /dev/null @@ -1,33 +0,0 @@ -function ret = selfCheck(in1, in2, tol) - -r1 = size(in1, 1); -c1 = size(in1, 2); - -r2 = size(in2, 1); -c2 = size(in2, 2); - -ret = 1; - -if r1~=r2 - disp(1298); - ret = 0; -end - -if c1 ~= c2 - disp(1297); - ret = 0; -end - -for i=1:r1 - if(ret == 0) - break; - end - for j=1:c1 - if( abs(in1(i,j)-in2(i,j)) > tol) - ret = 0; - break; - end - end -end - - -- cgit v1.2.2