Commit 7d867057 authored by Hark Simon Braren's avatar Hark Simon Braren

Bugfix itaAnthroHRTF

Hotfix error when providing frequency domain HRTF to constructor
parent 50d06e9c
......@@ -100,7 +100,11 @@ classdef itaAnthroHRTF < itaHRTF
this.(fn{iFn}) = var{iIn}.(fn{iFn});
end
end
this.data = var{iIn}.timeData;
if var{iIn}.domain == 'time'
this.data = var{iIn}.timeData;
% -> error when input is freq domain
end
break
end
end
......
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