Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing variable M at length in LBSPRfit_(..., useCPP=TRUE)
Variable natural mortality at length not applied when Mpow>0 for fitting the model to observed size distribution (LBSPRfit_ function) while using C++ function to calculate the NLL. Fixed by applying the allometric relationship to M/k (a similar way as implemented in the simulation function - LBSPRsim_).
- Loading branch information