Skip to content

Fails to compile with "lvalue required as left operand of assignment" #2

Description

@petwri

During compiling, I get the following error (Makefile in ./blas/):

lapack_routines.cpp: In function ‘int tridiag(BoostTypedefs::Complex*, int, BoostTypedefs::Complex*, double*, char)’: lapack_routines.cpp:471:60: error: lvalue required as left operand of assignment for(uint i = 0;i<length_diag;i++){diag[i].real() = ndiag[i];diag[i].imag()=0.0;}

Those messages appear multiple times.

I tried different versions of gcc (6, 8), error occurs for all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions