octavePackages.ltfat: remove old syntax-error.patch
This commit is contained in:
parent
cd439c64b0
commit
d8ac078493
@ -20,11 +20,6 @@ buildOctavePackage rec {
|
||||
sha256 = "sha256-8AqEDEfgYwftKUj8ynFQzBa3G3zTdhNtsZ2bW16DV7Q=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes a syntax error with performing multiplication.
|
||||
./syntax-error.patch
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fftw
|
||||
fftwSinglePrec
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff --git a/inst/nonstatgab/nsdgt.m b/inst/nonstatgab/nsdgt.m
|
||||
index ac53963..81656cb 100644
|
||||
--- a/inst/nonstatgab/nsdgt.m
|
||||
+++ b/inst/nonstatgab/nsdgt.m
|
||||
@@ -149,8 +149,8 @@ for ii = 1:N
|
||||
col = ceil(Lg/M(ii));
|
||||
|
||||
temp = zeros(col*M(ii),W,assert_classname(f,g{1}));
|
||||
- temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@ ...
|
||||
- times,f(win_range,:),g{ii}(idx));
|
||||
+ temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@times, ...
|
||||
+ f(win_range,:),g{ii}(idx));
|
||||
|
||||
temp = reshape(temp,M(ii),col,W);
|
||||
X = squeeze(fft(sum(temp,2)));
|
Loading…
Reference in New Issue
Block a user