diff --git a/AutoDiffHelpers.hpp b/AutoDiffHelpers.hpp index f48b6e165..9c96e09ef 100644 --- a/AutoDiffHelpers.hpp +++ b/AutoDiffHelpers.hpp @@ -286,6 +286,9 @@ superset(const Eigen::Array& x, /// Construct square sparse matrix with the /// elements of d on the diagonal. +AutoDiff::ForwardBlock::M +spdiag(const AutoDiff::ForwardBlock::V& d); + AutoDiff::ForwardBlock::M spdiag(const AutoDiff::ForwardBlock::V& d) {