template struct gpr::derivatives::Lift<Eigen::AutoDiffScalar<Derivatives>>

Nested AutoDiffScalar arithmetic is defined against its own scalar only, so a constant is promoted one level at a time.

#include <gpr/derivatives/NestedAutoDiff.h>
 
template <typename Derivatives>
struct Lift<Eigen::AutoDiffScalar<Derivatives>> {
    // typedefs
 
    typedef Eigen::AutoDiffScalar<Derivatives> Type;
 
    // methods
 
    template <typename Value>
    static Type from(const Value& value);
};