-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Copy link
Labels
change loguse for issues that should appear in change loguse for issues that should appear in change logselectivity
Milestone
Description
Describe the bug
The User Manual guidance on 2D-AR1 (semi-parametric) selectivity notes that "For simplicity, only a single sigma parameter line needs to be read if Sigma_Amax equals Amin, or if Sigma_Amax < 0."
However, the code to write the control.ss_new file doesn't include this option and just skips writing of the one parameter line:
ss3-source-code/SS_write_ssnew.tpl
Lines 2627 to 2634 in b8a5b59
| for (a = amin; a <= sigma_amax; a++) | |
| { | |
| dvector dtempvec(1, 7); // Lo, Hi, init, prior, prior_sd, prior_type, phase; | |
| k++; | |
| dtempvec = timevary_parm_rd[k](1, 7); | |
| dtempvec(3) = value ( selparm(isigmasel + a - amin) ); | |
| report4 << dtempvec << " # sigma_sel for fleet:_" << tempvec(1) << "; " << anystring << "_" << a <<endl; | |
| } |
The example attached includes input files (which runs successfully) and the control.ss_new file with the missing parameter line.
simple_small_2DAR_len.zip.
To Reproduce
Run the model attached above.
Expected behavior
Parameter line for 2D-AR selectivity
Screenshots
No response
Which OS are you seeing the problem on?
No response
Which version of SS3 are you seeing the problem on?
3.30.23.1
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
change loguse for issues that should appear in change loguse for issues that should appear in change logselectivity
Type
Projects
Status
Done
Status
Done