You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling prepare_wham_input, one of the selectivity parameters is NaN
Warning message:
In log(selpars_hi - selpars_ini) : NaNs produced
In this case the offending parameter was not estimated (mapped to NA). The model ran and converged. However, it caused the OSA residuals to fail:
Doing OSA residuals...
Loading required namespace: parallel
[1] 1
[1] 2
Error in if (xnext + that < parm.range[1]) { :
missing value where TRUE/FALSE needed
In addition: Warning message:
In log(selpars_hi - selpars_ini) : NaNs produced
[1] 3
Error in if (xnext + that < parm.range[1]) { :
missing value where TRUE/FALSE needed
In addition: Warning message:
In log(selpars_hi - selpars_ini) : NaNs produced
Problem is that the initial selpar was specified greater than the default upper bound (1 for age-specific, n_ages for logistic and double-logistic). Need to add check for this before calculating par$logit_selpars from selpars_ini, selpars_hi, and selpars_lo.
The text was updated successfully, but these errors were encountered:
When calling
prepare_wham_input
, one of the selectivity parameters isNaN
In this case the offending parameter was not estimated (mapped to
NA
). The model ran and converged. However, it caused the OSA residuals to fail:Problem is that the initial selpar was specified greater than the default upper bound (1 for age-specific, n_ages for logistic and double-logistic). Need to add check for this before calculating
par$logit_selpars
fromselpars_ini
,selpars_hi
, andselpars_lo
.The text was updated successfully, but these errors were encountered: