<div dir="ltr"><p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:Arial,sans-serif">Hi,</span></p><p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:Arial,sans-serif">     I encountered segmentation fault (core dumped) when I had tried to modify the existing CppExample in the examples to incorporate the automatic differentiation codes (ADOL-C) for calculating my Jacobian and Hessian matrices. The codes are attached herewith. No compilation error is observed, but on execution, the core dumps outright.</span></p>

<p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:Arial,sans-serif">    Please see the codes and comment on it. I’m not much experienced in C++ programming. I hope you can help.</span></p>

<p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:Arial,sans-serif"> </span></p><p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:Arial,sans-serif">Thanks &amp; Regards,</span></p>

<p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:Arial,sans-serif">Aman</span></p></div>