[ADOL-C] Minor Patch: buffer for independent variables should be const in jac_solv()

Kshitij Kulshreshtha kshitij at math.upb.de
Wed Aug 24 05:54:26 EDT 2011


Hello,

I've applied your patch to ADOL-C svn.

Thanks.
Kshitij

As on 2011-08-22 09:47, Wolfgang Lorenz did write:
> Hello ADOL-C-devs,
> 
> while cleaning up our project, I changed the function parameters for
> input buffers from (double*) to (const double*). When I came to a
> function, which uses jac_solv() the compiler complained about the
> independent variables buffer. I think it should also be of type (const
> double*) in ADOL-C. I attached a patch (against current trunk --
> revision 269). I haven't checked, if there are other occurrences like
> this in the ADOL-C sources.
> 
> Greetings,
>   Wolfgang
> 
> 
> 
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c

-- 
Dr. Kshitij Kulshreshtha

Institut für Mathematik,
Universität Paderborn,
Warburger Straße 100,
33098 Paderborn.

Büro: A3.235

Privatanschrift:
Arnikaweg 62
33100 Paderborn.



More information about the ADOL-C mailing list