Re: [eigen] EIGEN_INITIALIZE_MATRICES_BY_NAN? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Subject: Re: [eigen] EIGEN_INITIALIZE_MATRICES_BY_NAN?
- From: Rhys Ulerich <rhys.ulerich@xxxxxxxxx>
- Date: Thu, 19 Apr 2012 15:42:26 -0500
- Cc: eigen@xxxxxxxxxxxxxxxxxxx
- 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 :cc:content-type; bh=3yZbD1DeVCBr1R2BHtjP9CsltbUXJZJu0wS9r73DoUY=; b=msuJzpF+yyZMmAf8wtOatONdif1sWPq5imr30jS0Uq40P2oI+NkQQUqyX8Ix7+WROJ ldR6rmGv+UOfBXV0WZL0HgpQ4GRXJQERZ+DghD3AOF9I1sfrMdcJKylQRARC3O/hhq9D A7DvpcB3RDoLBlCDZT/1atZwVQnYpU5/+YobGGYkQEfYRhb6Zmmm/1xHQdsyXpiPvNPs 32MpxGeKC/9FokzSxECCsoX4Cq9BwsZ0rmLqf1SLhqrC+lXweXiwYQxyiKET/5Nqwnnd bMh9QBCfLwEUmDU9vK6g3MeQftBFngpV5+7TSls6SP0XeeKeqOfNNerxTCVMpdMlgSsc cUPg==
> Is valgrind not enough to detect use of uninitialized values?
Good point. I always forget valgrind.
valgrind is enough when I suspect something isn't initialized properly
and I can adequately pare down the mess of warnings for all the third
party dependencies I use. It's not as simple to toss underneath an
entire suite of (often MPI-parallel) make check tests during a debug
build as a EIGEN_INITIALIZE_MATRICES_BY_NAN would be.
I can definitely understand wanting to avoid the preprocessor bloat.
- Rhys