ices-tools-prod / msy

A collection of methods to estimate equilibrium reference points for fish stocks
GNU General Public License v2.0
13 stars 11 forks source link

Code bug #9

Closed hoski closed 7 years ago

hoski commented 8 years ago

in the function eqsr_Buckland

dimnames(pred) <- list(model = fit$model, ssb = data$ssb)

should change to

dimnames(pred) <- list(model = fit$model, ssb = sort(data$ssb))

In line with how pred is generated.

Should not matter in the simulations that used the parameters, not those predictions.

colinpmillar commented 7 years ago

Fix implemented on development branch and will push to master soon