This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Question about the error encountered

Tags: None
(comma "," separated)
kimia
Registered Member
Posts
1
Karma
0
I just started using the Eigen library, as I needed it during running the code. While loading the header file in ROOT, I face the errors as

Error: no matching member function for call to ‘cast’
m_matT = matrix.derived().template cast<ComplexScalar>();

Does anyone can help me to understand how to fix this error?
Thanks in advance.
jensw
Registered Member
Posts
8
Karma
0
Can you post a larger segment of your code and a more complete compiler error. Preferably also which compiler you use.

What are you trying to achieve with that line?

The error says that the class behind matrix.derived() does not have a function `cast`


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]