Skip to content

allow fullMatrix::scale() with scalar instead of double only

Nicolas Marsic requested to merge fullMatrix_scale_complex_eigen into master

Hi again,

When the Gmsh library is compiled with Eigen, fullMatrix<scalar>::gemm() cannot be used when scalar = std::complex<>.

If I got it right, it comes from the fact that fullMatrix<scalar>::scale() takes only double as input argument. Nonetheless, I have the impression that fullMatrix<scalar>::scale() can take safely a scalar as input... or do I missing something?

Cheers, Nicolas.

Merge request reports