ngspice/tests/regression/parser
rlar d0897fd0c4 src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)'
identified and reported by Marcel Hendrix,
expressions of this kind could trigger a segmentation violation.

PTdifferentiate() roughly evaluates to
  ternary_fcn(ge0(0-expr), 0, PTdifferentate(expr))
and mkb() optimizes
  0 - expr --> unary_minus(expr)

IFeval() invokes PTeval() for the derivative too,
PTeval() looks at the incorrect tree->funcnum
  and tries to PTeval for a second argument which is not there,
     (unary_minus does not have a second argument)
  causing a segmentation fault.
2016-03-09 20:24:37 +01:00
..
Makefile.am
bxpressn-1.cir src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)' 2016-03-09 20:24:37 +01:00
bxpressn-1.out
minus-minus.cir
minus-minus.out
xpressn-1.cir
xpressn-1.out
xpressn-2.cir
xpressn-2.out
xpressn-3.cir
xpressn-3.out