mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 08:14:10 +08:00
Fix unused variable warning.
This commit is contained in:
parent
774dba87c8
commit
4483c0fdf6
@ -21,7 +21,7 @@ template<typename Scalar>
|
||||
struct lgamma_impl
|
||||
{
|
||||
EIGEN_DEVICE_FUNC
|
||||
static EIGEN_STRONG_INLINE Scalar run(const Scalar& x)
|
||||
static EIGEN_STRONG_INLINE Scalar run(const Scalar&)
|
||||
{
|
||||
EIGEN_STATIC_ASSERT((internal::is_same<Scalar, Scalar>::value == false),
|
||||
THIS_TYPE_IS_NOT_SUPPORTED);
|
||||
@ -59,7 +59,7 @@ template<typename Scalar>
|
||||
struct erf_impl
|
||||
{
|
||||
EIGEN_DEVICE_FUNC
|
||||
static EIGEN_STRONG_INLINE Scalar run(const Scalar& x)
|
||||
static EIGEN_STRONG_INLINE Scalar run(const Scalar&)
|
||||
{
|
||||
EIGEN_STATIC_ASSERT((internal::is_same<Scalar, Scalar>::value == false),
|
||||
THIS_TYPE_IS_NOT_SUPPORTED);
|
||||
@ -97,7 +97,7 @@ template<typename Scalar>
|
||||
struct erfc_impl
|
||||
{
|
||||
EIGEN_DEVICE_FUNC
|
||||
static EIGEN_STRONG_INLINE Scalar run(const Scalar& x)
|
||||
static EIGEN_STRONG_INLINE Scalar run(const Scalar&)
|
||||
{
|
||||
EIGEN_STATIC_ASSERT((internal::is_same<Scalar, Scalar>::value == false),
|
||||
THIS_TYPE_IS_NOT_SUPPORTED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user