From 4a3e09be262a22a0082cc6591361e383ea84390d Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 1 Aug 2020 16:43:04 +0200 Subject: [PATCH] Use the current method to set the coefficients --- src/spicelib/devices/vsrc/vsrcpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/vsrc/vsrcpar.c b/src/spicelib/devices/vsrc/vsrcpar.c index 1c58e35f2..b9c6847be 100644 --- a/src/spicelib/devices/vsrc/vsrcpar.c +++ b/src/spicelib/devices/vsrc/vsrcpar.c @@ -297,7 +297,7 @@ VSRCparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) case VSRC_SOUND: { here->VSRCfunctionType = SOUND; here->VSRCfuncTGiven = TRUE; - here->VSRCcoeffs = value->v.vec.rVec; + copy_coeffs(here, value); here->VSRCcoeffsGiven = TRUE; vsjack_open(-1); // initialize if (jfile) {