Bugzilla – Attachment 638 Details for
Bug 1141
trivial fix to initialize some internal state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
trivial patch to initialize state
z (text/plain), 1.10 KB, created by
Joshua Pritikin
on 2015-12-29 14:00:12 UTC
(
hide
)
Description:
trivial patch to initialize state
Filename:
MIME Type:
Creator:
Joshua Pritikin
Created:
2015-12-29 14:00:12 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/Eigen/src/CholmodSupport/CholmodSupport.h b/Eigen/src/CholmodSupport/CholmodSupport.h >--- a/Eigen/src/CholmodSupport/CholmodSupport.h >+++ b/Eigen/src/CholmodSupport/CholmodSupport.h >@@ -169,24 +169,26 @@ class CholmodBase : public SparseSolverB > typedef typename MatrixType::Scalar Scalar; > typedef typename MatrixType::RealScalar RealScalar; > typedef MatrixType CholMatrixType; > typedef typename MatrixType::StorageIndex StorageIndex; > > public: > > CholmodBase() >- : m_cholmodFactor(0), m_info(Success) >+ : m_cholmodFactor(0), m_info(Success), >+ m_factorizationIsOk(false), m_analysisIsOk(false) > { > m_shiftOffset[0] = m_shiftOffset[1] = RealScalar(0.0); > cholmod_start(&m_cholmod); > } > > explicit CholmodBase(const MatrixType& matrix) >- : m_cholmodFactor(0), m_info(Success) >+ : m_cholmodFactor(0), m_info(Success), >+ m_factorizationIsOk(false), m_analysisIsOk(false) > { > m_shiftOffset[0] = m_shiftOffset[1] = RealScalar(0.0); > cholmod_start(&m_cholmod); > compute(matrix); > } > > ~CholmodBase() > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1141
: 638