muttemp.c, allow negative inductance

This commit is contained in:
rlar 2016-12-03 18:01:40 +01:00
parent 681903492b
commit fc32837b44
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ MUTtemp(GENmodel *inModel, CKTcircuit *ckt)
/* _______
* M = k * \/L1 * L2
*/
here->MUTfactor = here->MUTcoupling * sqrt(ind1 * ind2);
here->MUTfactor = here->MUTcoupling * sqrt(fabs(ind1 * ind2));
}
return(OK);