fix implicit scalar conversions (needed to support fancy scalar types, see bug #276)

This commit is contained in:
David H. Bailey
2011-05-23 11:20:13 +02:00
parent 7209d6a126
commit 074b067624
8 changed files with 27 additions and 27 deletions

View File

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