only access to CKTkluMODE if KLU configured

This commit is contained in:
dwarning 2024-03-25 09:20:51 +01:00
parent 03a1010a65
commit 7722c3dc6b
1 changed files with 4 additions and 0 deletions

View File

@ -51,10 +51,14 @@ com_option(wordlist *wl)
printf("epsmin = %g\n", circuit->CKTepsmin);
printf("\nMatrix solver:\n");
#ifdef KLU
if (circuit->CKTkluMODE == 0)
printf("Sparse 1.3\n");
else
printf("KLU\n");
#else
printf("Sparse 1.3\n");
#endif
printf("\nTolerances (absolute):\n");
printf("abstol (current) = %g\n", circuit->CKTabstol);