Replace deprecated bcopy function, to allow

compiling with MINGW
This commit is contained in:
Holger Vogt 2024-09-28 13:38:18 +02:00
parent 9e1515cca6
commit 66f53d8f0d
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ RELANanalysis (CKTcircuit *ckt,
ckt->CKTmode = (ckt->CKTmode&MODEUIC) | MODETRAN | MODEINITTRAN;
/* modeinittran set here */
ckt->CKTag[0]=ckt->CKTag[1]=0;
bcopy(ckt->CKTstate0, ckt->CKTstate1,
memcpy(ckt->CKTstate1, ckt->CKTstate0,
(size_t) ckt->CKTnumStates * sizeof(double));
#ifdef WANT_SENSE2