mr_hessian.m: don't manually increase run index of loop
parent
1ca5aad981
commit
b56b7760b1
|
@ -198,9 +198,7 @@ if outer_product_gradient
|
|||
xh1(j)=x(j);
|
||||
xh_1(i)=x(i);
|
||||
xh_1(j)=x(j);
|
||||
j=j+1;
|
||||
end
|
||||
i=i+1;
|
||||
end
|
||||
elseif hflag==1
|
||||
% full numerical 2nd order derivs only in diagonal
|
||||
|
|
Loading…
Reference in New Issue