[ADMB Users] ADMB Crash when using dvariable

17 views
Skip to first unread message

Scott Rasmussen @ Zaita Design

unread,
May 7, 2013, 12:33:04 AM5/7/13
to us...@admb-project.org
I've compiled and tested ADMB using the minimisation example under auto-diff with no problems. However, when I try to instantiate a dvariable I get a segfault.

Operating System: Windows 7
Compiler: MinGW x64 (tdm-gcc) 4.7.1
Compiler Flags: __GNUDOS__

Full Code:
#include <fvar.hpp>
int main() {
    dvariable x; // segfaults before this completes
    return 0;
}

Am I missing something painfully obvious?

Thanks,
Scott.

dave fournier

unread,
May 7, 2013, 10:08:55 PM5/7/13
to us...@admb-project.org
Don;t have a clue what you are tryuing to do but
if you want to sue the low level autodif stuff you need to
know what you are doing




int main()
{
// you need something like
gradient structure gs(100000);

dvariable x; // segfaults before this completes -- not any more
return 0;
}
_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users
Reply all
Reply to author
Forward
0 new messages