Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f19f84c6 authored by hhakim's avatar hhakim
Browse files

Minor fix in compute_XY_on_gpu.

The Vh Eigen exp needed an eval to work.
parent fd363b17
Branches
Tags
No related merge requests found
...@@ -342,7 +342,7 @@ namespace Faust ...@@ -342,7 +342,7 @@ namespace Faust
Map V(Vs.getData() + i * n, n, 1); Map V(Vs.getData() + i * n, n, 1);
V *= std::sqrt(Ss(i)); V *= std::sqrt(Ss(i));
auto Vh = V.adjoint(); auto Vh = V.adjoint();
Y.set_row_coeffs(row_id, cols[r], Vh.data(), 0, Vh.rows()); Y.set_row_coeffs(row_id, cols[r], Vh.eval().data(), 0, Vh.rows());
} }
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment