mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user