Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpars$SLarray error message when resampling for depletion #91

Open
tcarruth opened this issue Jan 30, 2024 · 0 comments
Open

cpars$SLarray error message when resampling for depletion #91

tcarruth opened this issue Jan 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tcarruth
Copy link
Contributor

set.seed(1)
OM = SS2OM("C:/GitHub/CDFW_Bag_Limits/Assessments/Northern May 2020_NoMaleOffset",nsim=96)
OM@cpars$D = rlnorm(OM@nsim,log(OM@D[1]),0.15,0.5,1)
Hist=runMSE(OM,Hist=T)

#Error in apply(SLarray[, , yr], 1, which.max) : dim(X) must have a positive length

@tcarruth tcarruth added the bug Something isn't working label Jan 30, 2024
@quang-huynh quang-huynh transferred this issue from Blue-Matter/SAMtool Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant