Commit fc901cb9 authored by rbo's avatar rbo

isa fix

parent 0415f84b
...@@ -45,10 +45,10 @@ classdef itaHpTF_MS < itaHpTF ...@@ -45,10 +45,10 @@ classdef itaHpTF_MS < itaHpTF
this.MSTF.outputChannels = [1 2]; this.MSTF.outputChannels = [1 2];
if nargin == 1 if nargin == 1
% init % init
if isa('itaHpTF',varargin) if isa(varargin{1},'itaHpTF')
this.init = varargin; this.init = varargin;
elseif isa('itaMSTF',varargin) % calibration input elseif isa(varargin{1},'itaMSTF') % calibration input
this.MSTF = varargin; this.MSTF = varargin{1};
end end
this.dimensions = 2*this.repeat; this.dimensions = 2*this.repeat;
this.fftDegree = this.MSTF.fftDegree; this.fftDegree = this.MSTF.fftDegree;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment