diff --git a/examples/ksp/ex50.jl b/examples/ksp/ex50.jl index d7b39337..790fb1bd 100644 --- a/examples/ksp/ex50.jl +++ b/examples/ksp/ex50.jl @@ -172,5 +172,7 @@ function main(petsclib; comm = MPI.COMM_WORLD, options...) end for petsclib in PETSc.petsclibs - main(petsclib) + if PETSc.scalartype(petsclib) <: Real + main(petsclib) + end end