Skip to content

Incorrect using of "inline" function in module_base/complexarray.h #616

@pxlxingliang

Description

@pxlxingliang

In module_base/complexarray.h, it has declared an "inline" function "inline void operator=(std::complex c);", but the definition is in "complexarray.cpp", this will cause error when this function is called in other codes.

I suggest modify this function to be a normal function by removing "inline".

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions