Menu

Commit [r19599]  Maximize  Restore  History

Shifted the C array creation to the relax_fit C module header.

The params, values, sd, relax_times, and scaling_matrix C arrays are now declared and allocated in
the header file rather than using malloc() calls in the setup() function. This is to attempt to
remove a memory leak. The arrays are now of fixed length and reused for each setup() call. These,
as well as the other variables declared in the header are no longer declared in the functions.

bugman 2013-04-29

changed /trunk/target_functions/relax_fit.c
changed /trunk/target_functions/relax_fit.h
/trunk/target_functions/relax_fit.c Diff Switch to side-by-side view
Loading...
/trunk/target_functions/relax_fit.h Diff Switch to side-by-side view
Loading...