[ADMB Users] crappy software

dave fournier davef at otter-rsch.com
Wed Nov 2 08:56:04 PDT 2011


Thanks for that. that was a stupid oversight on my part.
I changed tau to a vector and modified the code like

  if (sd_phase())
   {
     tau=exp(log_tau);
     dvar_matrix ch(1,2,1,2);
     ch(1,1)=1.0;
     ch(1,2)=0.0;
     ch(2,1)=rho;
     ch(2,2)=1.0;
     ch(2)/=norm(ch(2));
     ch(1)*=tau(1);
     ch(2)*=tau(2);
     sigma=ch*trans(ch);
   }

The corrected tpl file is attached.
I'll rerun the simulations and we will see.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: analyzer.tpl
URL: <http://lists.admb-project.org/pipermail/users/attachments/20111102/7b4b30bf/attachment.ksh>


More information about the Users mailing list