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 --- .../texture_synthesis/src/matlabPyrTools/factorial.m | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/factorial.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/factorial.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/factorial.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/factorial.m deleted file mode 100755 index 9255f43..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/factorial.m +++ /dev/null @@ -1,16 +0,0 @@ -%% RES = factorial(NUM) -% -% Factorial function that works on matrices (matlab's does not). - -% EPS, 11/02 - -function res = factorial(num) - -res = ones(size(num)); - -ind = find(num > 0); -if ( ~isempty(ind) ) - subNum = num(ind); - res(ind) = subNum .* factorial(subNum-1); -end - -- cgit v1.2.2