mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-18 12:23:13 +08:00
fix superLU backend: missing operator=
This commit is contained in:
parent
e9f6167485
commit
df9dfa1455
@ -60,7 +60,10 @@ struct SluMatrixMapHelper;
|
|||||||
*/
|
*/
|
||||||
struct SluMatrix : SuperMatrix
|
struct SluMatrix : SuperMatrix
|
||||||
{
|
{
|
||||||
SluMatrix() {}
|
SluMatrix()
|
||||||
|
{
|
||||||
|
Store = &storage;
|
||||||
|
}
|
||||||
|
|
||||||
SluMatrix(const SluMatrix& other)
|
SluMatrix(const SluMatrix& other)
|
||||||
: SuperMatrix(other)
|
: SuperMatrix(other)
|
||||||
@ -68,6 +71,14 @@ struct SluMatrix : SuperMatrix
|
|||||||
Store = &storage;
|
Store = &storage;
|
||||||
storage = other.storage;
|
storage = other.storage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SluMatrix& operator=(const SluMatrix& other)
|
||||||
|
{
|
||||||
|
SuperMatrix::operator=(static_cast<const SuperMatrix&>(other));
|
||||||
|
Store = &storage;
|
||||||
|
storage = other.storage;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user