Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This patch file was generated by NetBeans IDE
- # This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
- # It uses platform neutral UTF-8 encoding.
- # Above lines and this line are ignored by the patching process.
- 18a19,25
- >
- > inline void umfpack_defaults(double control[UMFPACK_CONTROL], double)
- > { umfpack_di_defaults(control); }
- >
- > inline void umfpack_defaults(double control[UMFPACK_CONTROL], std::complex<double>)
- > { umfpack_zi_defaults(control); }
- >
- 149a157
- > typedef Array<double, UMFPACK_CONTROL, 1> UmfpackControlType;
- 235a244,272
- > /** Provides the return status code returned by UmfPack during the numeric
- > * factorization.
- > *
- > * \sa factorize(), compute()
- > */
- > inline int factorizationStatus() const
- > {
- > eigen_assert(m_numeric && "UmfPackLU: you must first call factorize()");
- > return m_fact_errorCode;
- > }
- >
- > /** Provides access to the control settings array used by UmfPack.
- > *
- > * If this array contains NaN's, the default values are used.
- > */
- > inline const UmfpackControlType& control() const
- > {
- > return m_control;
- > }
- >
- > /** Provides access to the control settings array used by UmfPack.
- > *
- > * If this array contains NaN's, the default values are used.
- > */
- > inline UmfpackControlType& control()
- > {
- > return m_control;
- > }
- >
- 238c275
- < * The given matrix must has the same sparcity than the matrix on which the pattern anylysis has been performed.
- ---
- > * The given matrix must has the same sparsity than the matrix on which the pattern analysis has been performed.
- 275a313
- > umfpack_defaults(m_control.data(), Scalar());
- 317c355
- < &m_symbolic, 0, 0);
- ---
- > &m_symbolic, m_control.data(), 0);
- 328,330c366,367
- < int errorCode;
- < errorCode = umfpack_numeric(m_outerIndexPtr, m_innerIndexPtr, m_valuePtr,
- < m_symbolic, &m_numeric, 0, 0);
- ---
- > m_fact_errorCode = umfpack_numeric(m_outerIndexPtr, m_innerIndexPtr, m_valuePtr,
- > m_symbolic, &m_numeric, m_control.data(), 0);
- 332c369
- < m_info = errorCode ? NumericalIssue : Success;
- ---
- > m_info = m_fact_errorCode == UMFPACK_OK ? Success : NumericalIssue;
- 354a392,394
- > int m_fact_errorCode;
- > UmfpackControlType m_control;
- >
- 410c450
- < &x.col(j).coeffRef(0), &b.const_cast_derived().col(j).coeffRef(0), m_numeric, 0, 0);
- ---
- > &x.col(j).coeffRef(0), &b.const_cast_derived().col(j).coeffRef(0), m_numeric, m_control.data(), 0);
Advertisement
Add Comment
Please, Sign In to add comment