mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Fix compilation for MSVC.
This commit is contained in:
parent
012cd62c81
commit
af17770680
@ -45,10 +45,11 @@ enum NumericalDiffMode {
|
|||||||
*
|
*
|
||||||
* Currently only "Forward" and "Central" scheme are implemented.
|
* Currently only "Forward" and "Central" scheme are implemented.
|
||||||
*/
|
*/
|
||||||
template<typename Functor, NumericalDiffMode mode=Forward>
|
template<typename _Functor, NumericalDiffMode mode=Forward>
|
||||||
class NumericalDiff : public Functor
|
class NumericalDiff : public _Functor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef _Functor Functor;
|
||||||
typedef typename Functor::Scalar Scalar;
|
typedef typename Functor::Scalar Scalar;
|
||||||
typedef typename Functor::InputType InputType;
|
typedef typename Functor::InputType InputType;
|
||||||
typedef typename Functor::ValueType ValueType;
|
typedef typename Functor::ValueType ValueType;
|
||||||
|
Loading…
Reference in New Issue
Block a user