[CppAD] copy of adfun object

Dominik Skanda Dominik.Skanda at biologie.uni-freiburg.de
Wed Oct 21 08:54:05 EDT 2009


Hi all
Is there a Copy Constructor or a copy operator for the adfun object and
how to use it properly?
My Problem is, that i can copy an ADFUN object but cannot delete it anymore!

CppAD::ADFun<double> *RHS=new CppAD::ADFun<double>(RHS_TO_COPY);
delete RHS;

delete RHS fails!!

Many Thanks in advance
Dominik



More information about the CppAD mailing list