Browse Source

Add missing CALLBACK

pre-master-46
Holger Vogt 8 months ago
parent
commit
cbf93cf8e0
  1. 3
      src/xspice/icm/xtradev/seegenerator/cfunc.mod

3
src/xspice/icm/xtradev/seegenerator/cfunc.mod

@ -166,6 +166,9 @@ void cm_seegen(ARGS) /* structure holding parms,
ctrl = INPUT(ctrl); ctrl = INPUT(ctrl);
if (INIT==1) { if (INIT==1) {
CALLBACK = cm_seegen_callback;
/* Allocate storage for last_t_value */ /* Allocate storage for last_t_value */
STATIC_VAR(last_t_value) = (double *) malloc(sizeof(double)); STATIC_VAR(last_t_value) = (double *) malloc(sizeof(double));
last_t_value = (double *) STATIC_VAR(last_t_value); last_t_value = (double *) STATIC_VAR(last_t_value);

Loading…
Cancel
Save