[Developers] ADMB-RE

Hans Julius Skaug Hans.Skaug at math.uib.no
Tue Oct 25 13:38:30 PDT 2011


I will put a note about this in the ADMB-RE manual.

Hans

From: developers-bounces at admb-project.org [mailto:developers-bounces at admb-project.org] On Behalf Of Mark Maunder
Sent: Monday, October 24, 2011 1:08 AM
To: developers at admb-project.org
Subject: [Developers] FW: ADMB-RE

See below

From: Richard Bian [mailto:r.bian at niwa.co.nz]
Sent: Sunday, October 23, 2011 2:49 PM
To: Mark Maunder
Subject: ADMB-RE

Hi Mark,

When I code my model, I noticed something interesting in ADMB-RE. Assuming x is a dvariable, if I declare another dvariable y this way, dvariable y=x; then when I change y, x will be changed in the RE round, but not in ordinary ADMB round. I guess when ADMB-RE converts the tpl to cpp in the df1b2_parameters functions, it declares y as x's reference rather than an normal variable. I didn't see this mentioned in the manual, so I think I'd let you know about this.


Regards,
Richard


Richard Bian
National Institute of Water & Atmospheric Research
41 Market Place
Auckland Central 1010, New Zealand
Tel: +64 9 375 2054  Fax: +64 9 375 2051


Please consider the environment before printing this email.

NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20111025/e66f08d9/attachment.html>


More information about the Developers mailing list