Skip to content

Commit

Permalink
survey(FLindexBiomass) adds info for relevant ages only
Browse files Browse the repository at this point in the history
  • Loading branch information
iagomosqueira committed Jan 30, 2025
1 parent 9cfe884 commit 7d21e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: FLCore
Title: Core Package of FLR, Fisheries Modelling in R
Version: 2.6.20.9322
Version: 2.6.20.9323
Authors@R: c(
person("Iago", "Mosqueira", email = "iago.mosqueira@wur.nl",
role = "cre", comment=c(c(ORCID = "0000-0002-3252-0591"))),
Expand Down
2 changes: 1 addition & 1 deletion R/oem.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ setMethod("survey", signature(object="FLStock", index="FLIndexBiomass"),
abnd <- index(object, sel=sel, ages=ages, timing=timing)

# ADD propatage
catch.n(index) <- abnd
catch.n(index)[ages,] <- abnd

# APPLY Q on biomass
index(index) <- c(index.q * unitSums(quantSums(abnd *
Expand Down

0 comments on commit 7d21e35

Please sign in to comment.