mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
make SparseSolverBase and IterativeSolverBase move constructable
This commit is contained in:
parent
9883108f3a
commit
dfa5176780
@ -188,6 +188,9 @@ public:
|
||||
compute(matrix());
|
||||
}
|
||||
|
||||
|
||||
IterativeSolverBase(IterativeSolverBase&&) = default;
|
||||
|
||||
~IterativeSolverBase() {}
|
||||
|
||||
/** 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)
|
||||
{}
|
||||
|
||||
SparseSolverBase(SparseSolverBase&&other ) : internal::noncopyable{}, m_isInitialized{other.m_isInitialized} {}
|
||||
|
||||
~SparseSolverBase()
|
||||
{}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user