TWOEARS / TwoEars

Two!Ears Auditory Model - Official releases
http://twoears.eu
GNU General Public License v3.0
36 stars 11 forks source link

Error in getSignal(obj, timeIncSec) #1

Closed abaebae closed 9 years ago

abaebae commented 9 years ago

I just ran the examples provided in the section "First steps: Binaural renderer" (Matlab 2014b, Mac OS X), but couldn't get the signal with

signal = sim.getSignal();

as specified in the example. The nargin check in line 330 in SimulatorConvexRoom.m fails if no value vor timeIncSec is handed over, but should set it to inf

if nargin < 1 % should be nargin < 2
        timeIncSec = inf;
end 
fietew commented 9 years ago

Fixed by 753dada8ee47da8e76bcc3e9a3f7f82a6c051fa4 Thanks for pointing it out