mirror of https://github.com/CGAL/cgal
Fix precision of Eigen diagonalize traits
This commit is contained in:
parent
6b98751311
commit
f440031f5c
|
|
@ -65,7 +65,7 @@ private:
|
||||||
{
|
{
|
||||||
for(std::size_t j=i; j<dim; ++j)
|
for(std::size_t j=i; j<dim; ++j)
|
||||||
{
|
{
|
||||||
m(i,j) = static_cast<float>(cov[(dim * i) + j - ((i * (i+1)) / 2)]);
|
m(i,j) = static_cast<FT>(cov[(dim * i) + j - ((i * (i+1)) / 2)]);
|
||||||
|
|
||||||
if(i != j)
|
if(i != j)
|
||||||
m(j,i) = m(i,j);
|
m(j,i) = m(i,j);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue