clean a bit previous patch (ctor vs static_cast and a few bits)

This commit is contained in:
Gael Guennebaud
2011-05-23 13:34:04 +02:00
parent 074b067624
commit 46bee5682f
7 changed files with 24 additions and 21 deletions

View File

@@ -268,7 +268,7 @@ struct partial_lu_impl
row_transpositions[k] = row_of_biggest_in_col;
if(biggest_in_corner != static_cast<RealScalar>(0))
if(biggest_in_corner != RealScalar(0))
{
if(k != row_of_biggest_in_col)
{