ralna / RALFit

A non-linear least squares solver
Other
25 stars 6 forks source link

Remove runtime memory allocation #39

Closed talassio closed 4 years ago

talassio commented 5 years ago

Remove calls that trigger automatic malloc, and are of the type

Call routine(a, b(1:n)*c(1:n), ...)
  1. https://github.com/ralna/RALFit/blob/b9f438c25874379a71922f7c18f352722d7cf55c/libRALFit/src/ral_nlls_internal.f90#L380

    1. https://github.com/ralna/RALFit/blob/b9f438c25874379a71922f7c18f352722d7cf55c/libRALFit/src/ral_nlls_internal.f90#L2731
  2. https://github.com/ralna/RALFit/blob/9268bb743d36f56c7070a91226fb6e2aedf61a35/libRALFit/src/ral_nlls_internal.f90#L1549