test

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@497 94ac48a7-3327-4b6a-8511-9a4036a20e83
add adubp_from_adub as friend function

From: Sebastian Walter <sebastian.walter@iwr.uni-heidelberg.de>
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@498 94ac48a7-3327-4b6a-8511-9a4036a20e83
Merge branch 'svn'
replace exit() call in taping.c with the function adolc_error
Set LDFLAGS on Darwin for undefined symbols

Since Darwin does not like undefined symbols in dylibs we need to set
LDFLAGS to immitate Linux behaviour.

Tested-by: Max Sagebaum <sagebaum@mathcces.rwth-aachen.de>
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@499 94ac48a7-3327-4b6a-8511-9a4036a20e83
regenerate files

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@500 94ac48a7-3327-4b6a-8511-9a4036a20e83
Merge branch 'svn'
Throw a std::exception instead of calling exit()

based on branch 'adolcerror' of https://github.com/b45ch1/adol-c

Suggested-by: Sebastian Walter <sebastian.walter@iwr.uni-heidelberg.de>
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>
try fix taylor mismatch in div_d_a

forward calls write two taylors and reverse calls expect two taylors
but during trace creation with keep=1 only one taylor is written.
This breaks shortcut reverse calls in case the trace contains an operation
like:

x = 1.0 / x;

So we should only write and expect one taylor in forward and reverse.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@501 94ac48a7-3327-4b6a-8511-9a4036a20e83
Merge branch 'svn'
do not segfault if trace_off is called before trace_on

segfault is bad, even though a user doing this is clearly brain-dead.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@502 94ac48a7-3327-4b6a-8511-9a4036a20e83
Merge branch 'svn'
Fix header path to build with openmp

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@503 94ac48a7-3327-4b6a-8511-9a4036a20e83
Merge branch 'svn'
Get rid of the non-POD VLAs

the stupid clang compiler claims to be __GNUC__ but doesn't support them

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@504 94ac48a7-3327-4b6a-8511-9a4036a20e83
Merge branch 'svn'
continuation of the last commit

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@505 94ac48a7-3327-4b6a-8511-9a4036a20e83
add a whitespace to make clang's c++11 mode happy.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@506 94ac48a7-3327-4b6a-8511-9a4036a20e83
get rid of strdup, it is in POSIX but not in ISO standard

so we can compile using -std=c99 and -std=c++11

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@507 94ac48a7-3327-4b6a-8511-9a4036a20e83
Add parenthesis to make bit extraction correct

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@508 94ac48a7-3327-4b6a-8511-9a4036a20e83