aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-12-11 23:29:53 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-12-11 23:29:53 +0100
commit4483c0fdf6bbab9133211b116a53271e5dcdeec5 (patch)
tree4610a3e5a182ce19c153ce2608efea8131ceffeb /Eigen
parent774dba87c86b109ffa7332eb8b930f942d50eb91 (diff)
Fix unused variable warning.
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/SpecialFunctions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/SpecialFunctions.h b/Eigen/src/Core/SpecialFunctions.h
index 05973e372..d43cf23a1 100644
--- a/Eigen/src/Core/SpecialFunctions.h
+++ b/Eigen/src/Core/SpecialFunctions.h
@@ -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);