From bde381129369630c626b2d82969517ac53f8308e Mon Sep 17 00:00:00 2001 From: Cody Balos Date: Fri, 27 Oct 2023 11:01:05 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Daniel R. Reynolds --- examples/kinsol/serial/kinAnalytic_fp.c | 4 ---- examples/kinsol/serial/kinLaplace_picard_kry.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/examples/kinsol/serial/kinAnalytic_fp.c b/examples/kinsol/serial/kinAnalytic_fp.c index c635dcb520..fb3dbe2106 100644 --- a/examples/kinsol/serial/kinAnalytic_fp.c +++ b/examples/kinsol/serial/kinAnalytic_fp.c @@ -231,11 +231,7 @@ int main(int argc, char *argv[]) infofp = fopen("kinsol.log", "w"); if (check_retval((void *)infofp, "fopen", 0)) return(1); - // retval = KINSetInfoFile(kmem, infofp); - // if (check_retval(&retval, "KINSetInfoFile", 1)) return(1); - // retval = KINSetPrintLevel(kmem, 1); - // if (check_retval(&retval, "KINSetPrintLevel", 1)) return(1); /* ------------- * Initial guess diff --git a/examples/kinsol/serial/kinLaplace_picard_kry.c b/examples/kinsol/serial/kinLaplace_picard_kry.c index 9122e8b0ef..7edd10866b 100644 --- a/examples/kinsol/serial/kinLaplace_picard_kry.c +++ b/examples/kinsol/serial/kinLaplace_picard_kry.c @@ -144,11 +144,7 @@ int main() infofp = fopen("KINSOL.log", "w"); - // retval = KINSetInfoFile(kmem, infofp); - // if (check_retval(&retval, "KINSetInfoFile", 1)) return(1); - // retval = KINSetPrintLevel(kmem, 3); - // if (check_retval(&retval, "KINSetPrintLevel", 1)) return(1); /* ---------------------- * Create SUNLinearSolver