Commits

Anonymous committed c943bf8

KSP ex54: explicitly call KSPSetUp so that it is distinct in the profile

Comments (0)

Files changed (1)

src/ksp/ksp/examples/tutorials/ex54.c

 #endif
   ierr = VecSet(xx,.0);CHKERRQ(ierr);
 
+  ierr = KSPSetUp(ksp);CHKERRQ(ierr);
+
   ierr = KSPSolve(ksp,bb,xx);CHKERRQ(ierr);
 
 #if defined(PETSC_USE_LOG)