Closed shfischer closed 3 years ago
Thanks for this. I have fixed it but it a way that the updated stock after FLStock + FLXSA has the correct dimnames for iter in all slots. Now pushed at https://github.com/flr/FLXSA/commit/5df860dc6dea7efe5dc5576714d3cc23260f15c8
FLXSA fails if >1 iterations exist but dimnames for iterations do not start with "1".
A minimal reproducible example:
because the loop in https://github.com/flr/FLXSA/blob/e50a08af3d5853b2f36c3bd0ecad48418e2ada17/R/flxsa.R#L286 always starts with
"2"
(which might not exist) instead of2
.