Skip to content

Commit 0c0946e

Browse files
committed
Use enum_to_string for unsupported PCs
1 parent bf9fea7 commit 0c0946e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numerics/petsc_preconditioner.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void PetscPreconditioner<T>::set_petsc_preconditioner_type (const Preconditioner
136136

137137
default:
138138
libMesh::err << "ERROR: Unsupported PETSC Preconditioner: "
139-
<< preconditioner_type << std::endl
139+
<< Utility::enum_to_string(preconditioner_type) << std::endl
140140
<< "Continuing with PETSC defaults" << std::endl;
141141
}
142142

0 commit comments

Comments
 (0)