Skip to content

Commit

Permalink
Turned to %*% for rickerSV
Browse files Browse the repository at this point in the history
  • Loading branch information
iagomosqueira committed Oct 16, 2024
1 parent 8402581 commit 958a1fc
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.920
Version: 2.6.20.9301
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/SRmodels.R
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ rickerSV <- function()
logl <- function(s, v, spr0, rec, ssb)
{
pars <- abPars('ricker', s=s, v=v, spr0=spr0)
loglAR1(log(rec), log(pars['a']*ssb*exp(-pars['b']*ssb)))
loglAR1(log(rec), log(pars['a']%*%ssb%*%exp(-pars['b']*ssb)))
}

initial <- structure(function(rec, ssb)
Expand Down

0 comments on commit 958a1fc

Please sign in to comment.