mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
make SparseSolverBase and IterativeSolverBase move constructable
This commit is contained in:
@@ -188,6 +188,9 @@ public:
|
|||||||
compute(matrix());
|
compute(matrix());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
IterativeSolverBase(IterativeSolverBase&&) = default;
|
||||||
|
|
||||||
~IterativeSolverBase() {}
|
~IterativeSolverBase() {}
|
||||||
|
|
||||||
/** Initializes the iterative solver for the sparsity pattern of the matrix \a A for further solving \c Ax=b problems.
|
/** Initializes the iterative solver for the sparsity pattern of the matrix \a A for further solving \c Ax=b problems.
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ class SparseSolverBase : internal::noncopyable
|
|||||||
: m_isInitialized(false)
|
: m_isInitialized(false)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
SparseSolverBase(SparseSolverBase&&other ) : internal::noncopyable{}, m_isInitialized{other.m_isInitialized} {}
|
||||||
|
|
||||||
~SparseSolverBase()
|
~SparseSolverBase()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user