Skip to content

Commit

Permalink
Update fit.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ericward-noaa committed Apr 7, 2021
1 parent bed73ae commit c4ef434
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ fit <- function(data_list,

if (data_list$sig_trend == 0) {
tmb_map <- c(tmb_map, list(
sig1_b1 = as.factor(NA)
sig1_b1 = as.factor(NA),
sig2_b1 = as.factor(NA)
))
} else {
if (data_list$asymmetric == 0) {
tmb_map <- c(tmb_map, list(
sig2_b1 = as.factor(NA)
Expand Down

0 comments on commit c4ef434

Please sign in to comment.