Fixed a bug in CKTload routine when KLU (and LnNL) is enabled
This commit is contained in:
parent
30093789b3
commit
7f9d87cd49
|
|
@ -128,7 +128,7 @@ CKTload(CKTcircuit *ckt)
|
||||||
/* Francesco Lannutti */
|
/* Francesco Lannutti */
|
||||||
#ifdef KLU
|
#ifdef KLU
|
||||||
if (DEVices[i] && DEVices[i]->DEVload && ckt->CKThead[i] &&
|
if (DEVices[i] && DEVices[i]->DEVload && ckt->CKThead[i] &&
|
||||||
DEVices[i]->DEVisLinear && (!(*DEVices[i]->DEVisLinear) || !(DEVices[i]->DEVisLinear))) {
|
((DEVices[i]->DEVisLinear && !(*DEVices[i]->DEVisLinear)) || !(DEVices[i]->DEVisLinear))) {
|
||||||
#else
|
#else
|
||||||
if (DEVices[i] && DEVices[i]->DEVload && ckt->CKThead[i]) {
|
if (DEVices[i] && DEVices[i]->DEVload && ckt->CKThead[i]) {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue