petsc-3.14.5 2021-03-03
Report Typos and Errors

# MatFactorClearError

clears the error code in a factorization

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatFactorClearError(Mat mat)

Logically Collective on Mat

### Input Parameter

| mat | - the factored matrix

### Notes

This can be called on non-factored matrices that come from, for example, matrices used in SOR.

### See Also

MatZeroEntries(), MatFactor(), MatGetFactor(), MatLUFactorSymbolic(), MatCholeskyFactorSymbolic(), MatFactorGetError(), MatFactorGetErrorZeroPivot()

### Level

developer

### Location

src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages