<div dir="ltr">Dear Adol-C developers<div><br></div><div>I would like to report that the example taylor/inversexam.cpp failed with ADOL-C release v2.6.3, but it worked with the developer version. Hope the new stable release will be released soon.</div><div><br></div><div>Additionally I would like to request to add the operator overloading for pdouble type. Because some material constants are formed from others and it would lead to a neatly code if an immediate variable of type pdouble is created. Right now I have to copy a lengthy expression to a lengthy one, leading to quite a complicated expression, which is then hard to debug if something happen later on.</div><div><br></div><div>Right now if I added the pdouble, the compilation error appears:</div><div><br></div><div><div>const pdouble& __o_11_n = mkparam(input.o_11_n());</div><div>const pdouble& __o_22_n = mkparam(input.o_22_n());</div><div>const pdouble& __o_33_n = mkparam(input.o_33_n());</div></div><div><br></div><div><div>pdouble __p_n = (__o_11_n + __o_22_n + __o_33_n)/3;</div></div><div><br></div><div><br></div><div><div>error: ambiguous overload for ‘operator+’ (operand types are ‘const pdouble’ and ‘const pdouble’)</div><div>         pdouble __p_n = (__o_11_n + __o_22_n + __o_33_n)/3;</div><div>                                   ^</div><div>In file included from /home/hbui/opt/adol-c/include/adolc/adouble.h:329:0,</div><div>                 from /home/hbui/opt/adol-c/include/adolc/adolc.h:28,</div><div>                 from /home/hbui/kratos_bcn2/applications/soil_mechanics_application/constitutive_laws/smoothed_mohr_coulomb_ad_explicit_lode_angle.cpp:18:</div><div>/home/hbui/opt/adol-c/include/adolc/param.h:105:13: note: candidate: adub operator+(const pdouble&, const badouble&)</div><div> inline adub operator + ( const pdouble& a, const badouble& b)</div><div>             ^</div><div>In file included from /home/hbui/opt/adol-c/include/adolc/param.h:58:0,</div><div>                 from /home/hbui/opt/adol-c/include/adolc/adouble.h:329,</div><div>                 from /home/hbui/opt/adol-c/include/adolc/adolc.h:28,</div><div>                 from /home/hbui/kratos_bcn2/applications/soil_mechanics_application/constitutive_laws/smoothed_mohr_coulomb_ad_explicit_lode_angle.cpp:18:</div><div>/home/hbui/opt/adol-c/include/adolc/internal/paramfunc.h:50:34: note: candidate: adub operator+(const badouble&, const pdouble&)</div><div>     friend ADOLC_DLL_EXPORT adub operator + ( const badouble&, const pdouble&);</div></div><div><br></div><div><br></div><div>Best regards</div><div>Giang Bui</div><div><br></div></div>