Relative Content

Tag Archive for c++lapacklapacke

Unable to fix error: “cannot convert ‘std::complex*’ to ‘__complex__ double*’ in initialization”

I initialize a matrix like below but seem to keep getting this error. I don’t understand why though, because I know this is running for several other people. What could possibly be causing this issue? Note that I have seen a very similar question, but I’m not sure I understand how to fix the issue yet. I am running this with c++14 and I tried c++17 (which I know for a fact worked for someone else), and I am linking the correct libraries as well.