[ADMB Users] Objective function value in 64 bit ADMB

CHRIS GRANDIN cgrandin at shaw.ca
Thu Sep 30 10:50:31 PDT 2010


Hi users,
  When I run this code in the report section:

report<<objective_function_value::pobjfun<<endl;

it gives me a hex string as output, which I need to convert somehow to a double.  I can do this but figured someone must have the answer already.

This happens on both VC++ 32 bit and 64 bit distributions.  Apparently on a colleagues' machine running the windows minggw compiler distribution the number comes out as it should, a double.  Also, the run output shows the objective function as a double, it is just the report section that is showing it as a hex string.
Any ideas ?

Thanks in advance
Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100930/b9a1b056/attachment.html>


More information about the Users mailing list