Change type from int to locint.
Make the edge_hess to be consistent with ADOL-C
edge_main edge_tape