Investigate crash in newrat.m
@rattoma Could you please have a look. The problem is that in the
if length(find(ig))<nx ggx=ggx*0; ggx(find(ig))=gg(find(ig)); if analytic_derivation hhx=hh; else hhx = reshape(dum,nx,nx); end
dum variable has not been set.