From 84c43f7c07b76ddc68a1c36d9a50dc9cd26c2bee Mon Sep 17 00:00:00 2001 From: Jeremy E Kozdon Date: Mon, 19 Jul 2021 13:39:57 -0700 Subject: [PATCH] Only run ex50 for real types --- examples/ksp/ex50.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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