Fix bugs, docs, and structure in unsupported/ public headers

libeigen/eigen!2254

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
Rasmus Munk Larsen
2026-03-29 17:06:40 -07:00
parent bd276fbb28
commit 255f522e2e
17 changed files with 69 additions and 50 deletions

View File

@@ -7,8 +7,8 @@
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef EIGEN_ADLOC_FORWARD_MODULE_H
#define EIGEN_ADLOC_FORWARD_MODULE_H
#ifndef EIGEN_ADOLC_FORWARD_MODULE_H
#define EIGEN_ADOLC_FORWARD_MODULE_H
//--------------------------------------------------------------------------------
//
@@ -42,6 +42,8 @@
#include "../../Eigen/Core"
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
namespace Eigen {
/**
@@ -57,7 +59,7 @@ namespace Eigen {
* the preprocessor token NUMBER_DIRECTIONS. The default is 2.
*
* \code
* #include <unsupported/Eigen/AdolcSupport>
* #include <unsupported/Eigen/AdolcForward>
* \endcode
*/
//@{
@@ -111,7 +113,7 @@ class AdolcForwardJacobian : public Functor {
template <typename T0, typename T1>
AdolcForwardJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {}
template <typename T0, typename T1, typename T2>
AdolcForwardJacobian(const T0& a0, const T1& a1, const T1& a2) : Functor(a0, a1, a2) {}
AdolcForwardJacobian(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2) {}
typedef typename Functor::InputType InputType;
typedef typename Functor::ValueType ValueType;
@@ -150,4 +152,6 @@ class AdolcForwardJacobian : public Functor {
} // namespace Eigen
#endif // EIGEN_ADLOC_FORWARD_MODULE_H
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
#endif // EIGEN_ADOLC_FORWARD_MODULE_H