Cleared bug in JEInterface now allowing 1-D optimization problems

This commit is contained in:
Marcel Kronfeld 2008-10-10 13:22:12 +00:00
parent 3526a78f57
commit 55014fd1d8

View File

@ -59,7 +59,7 @@ else
end
if (isa(range, 'double') && (size(range,1) == 2))
int.dim=length(range);
int.dim=size(range, 2);
int.range=transpose(range);
else
%error('Wrong third argument type, expected double array of 2 x dim');