[ADMB Users] No gradient ?

Campbell, Alex Alex.Campbell at deedi.qld.gov.au
Thu Feb 17 19:46:52 PST 2011


Thanks Dave! Not because you were on the money but because you inspired
me to re-examine my PRELIMINARY_CALCS_SECTION. I shouldn't have had an
operation in there that needed to be visible to the autodif machinery (p
= mfexp(-nlogp);). At least that is my inference. This was so hard to
debug because the values of all my variables were 100% correct.

-alex

-----Original Message-----
From: users-bounces at admb-project.org
[mailto:users-bounces at admb-project.org] On Behalf Of dave fournier
Sent: Friday, 18 February 2011 4:51 AM
To: users at admb-project.org
Subject: Re: [ADMB Users] No gradient ?

Maybe you are accumulating into an uninitialized variable.

as in

     dvariable x;   // x is uninitialized

       x+=u;    // trouble
_______________________________________________
Users mailing list
Users at admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately 
and delete it from your computer system network.




More information about the Users mailing list