Re: [eigen] Warnings in NumericalDiff and MKL modules |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Warnings in NumericalDiff and MKL modules
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 15 Jun 2012 07:59:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=zpLFdRgBZhmIE01M7Z16BlcNh8xTwuZYL2Qwde22DNQ=; b=qFHaOow1p7cPnQhU9bJ7J77juVaUGCijSkhgcmJJqLwjwF/+lzFp67JYYwhJEVtFoI EP+6KqzzpxX1mZ12n6EmeCWvSHiVoAU5aYz6IWyQLBnXgVpj+PB2YfIsXUfqnf+HvJgi b6oFMMXMRwqmPw4okOpNW9CzjBPH+UtvilKLgRcWLlbWpu2Yc6B+Oj4CbvpOH9UooVPo 9DQ5yTr+WecOYINB237ga9Rc+Iwp21UfPtT9D3t4w0+eZioR0dLZw2LJdbIPeMHfbbxA GA5R8Km4EaJfUvVntjhITTuRt8EZUnMV3WIYKZd8cPQTBBXve0Yhhcr+nJo1FLDASGS/ 7VeQ==
Hi,
never too late ;)
The first one was indeed important. For the second one, are you sure
you have the last 3.1.0-rc1? Here select is initialized to 0, and line
74 corresponds to the end of the macro definition, not
EIGEN_MKL_SCHUR_REAL(double, ....
Thanks,
gael
On Thu, Jun 14, 2012 at 10:39 PM, Michael Braun <braunm@xxxxxxx> wrote:
> Hopefully this is not too late for 3.1.0, but in icpc, I get the following
> warning (not sure why, since I don't use the NumericalDiff module)
>
> include/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h(66): warning
> #488: template parameter "T2" is not used in declaring the parameter types
> of function template "Eigen::NumericalDiff<_Functor,
> mode>::NumericalDiff<T0,T1,T2>(const T0 &, const T1 &, const T1 &)"
> template<typename T0, typename T1, typename T2>
>
>
> Here is the relevant code from NumericalDiff.h, line 68. I suspect that
> there needs to be a change from const T1& a2 to const T2& a2.
>
> template<typename T0, typename T1, typename T2>
> NumericalDiff(const T0& a0, const T1& a1, const T1& a2) :
> Functor(a0, a1, a2), epsfcn(0) {}
>
>
>
> I also get the following warnings when I include MKL support. I haven't had
> a chance to debug, but since the release date is so close, I wanted to let
> you know.
>
> /include/Eigen/src/Eigenvalues/RealSchur_MKL.h(74): warning #592: variable
> "select" is used before its value is set
> EIGEN_MKL_SCHUR_REAL(double, double, d, D, ColMajor, LAPACK_COL_MAJOR)
>
>
>
>
> Michael Braun
> MIT Sloan School of Management
> braunm@xxxxxxx
> --------------------------------------------------
> View my research at
> http://braunm.scripts.mit.edu/
>