diff --git a/spice/generic/varistor.lib b/spice/generic/varistor.lib index a513108..d29650b 100644 --- a/spice/generic/varistor.lib +++ b/spice/generic/varistor.lib @@ -4,6 +4,6 @@ *///////////////////////////////////////////////////////////////////// .SUBCKT VARISTOR IN_P IN_N R_P R_N PARAMS: gain=1 *///////////////////////////////////////////////////// -R R_P R_N {abs(V(IN_P) - V(IN_N)) * gain + 1n} +R R_P R_N {(V(IN_P) - V(IN_N)) * gain + 1n} .ENDS * END MODEL VARISTOR