Bug in power function fixed.

This commit is contained in:
pnenzi 2005-06-30 11:41:17 +00:00
parent b8dca1b4c2
commit cfb185c3bb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-06-30 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/parser/inpptree.c: fixed bug in power function.
2005-06-25 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/analysis/acan.c: modified original integration of xspice

View File

@ -222,7 +222,8 @@ static INPparseNode *PTdifferentiate(INPparseNode * p, int varnum)
mkb(PT_PLUS,
mkb(PT_TIMES, p->right,
mkb(PT_DIVIDE, arg1, p->left)),
mkb(PT_TIMES, arg2, mkf(PTF_LN, arg1))));
mkb(PT_TIMES, arg2, mkf(PTF_LN, /*arg1*/p->left))));
/*changed by HT, '05/06/29*/
}
break;