Browse Source

PULSE: correct timing in case of phase != 0

pre-master-46
h_vogt 16 years ago
parent
commit
95b7a297fa
  1. 2
      src/spicelib/devices/vsrc/vsrcacct.c

2
src/spicelib/devices/vsrc/vsrcacct.c

@ -74,7 +74,7 @@ VSRCaccept(CKTcircuit *ckt, GENmodel *inModel)
#endif
/* offset time by delay and limit to zero */
time = ckt->CKTtime - TD;
tshift = TD;
#ifdef XSPICE
/* normalize phase to 0 - 2PI */
phase = PHASE * M_PI / 180.0;

Loading…
Cancel
Save