Add missing CALLBACK

This commit is contained in:
Holger Vogt 2025-08-03 10:49:28 +02:00
parent 4d1128dcf7
commit 6ebe4b32e1
1 changed files with 3 additions and 0 deletions

View File

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