Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in SS-timevaryparm.tpl L221 #148

Closed
zandjyo opened this issue Mar 12, 2021 · 4 comments
Closed

Typo in SS-timevaryparm.tpl L221 #148

zandjyo opened this issue Mar 12, 2021 · 4 comments
Labels
bug Something isn't working; don't remove label after fixing

Comments

@zandjyo
Copy link

zandjyo commented Mar 12, 2021

https://github.com/nmfs-stock-synthesis/stock-synthesis/blob/70c765caf3e4468b8131e15287eaef01c620238f/SS_timevaryparm.tpl#L221

The environmental link option '4', logistic link, is not working properly.
I think there is a typo in line 221:

parm_timevary(tvary,y1)=2.00000/(1.00000 + mfexp(-timevary_parm(timevary_parm_cnt+1)(env_data(yz,timevary_setup(7))-timevary_parm(timevary_parm_cnt))));

should read

parm_timevary(tvary,y1)=2.00000/(1.00000 + mfexp(-timevary_parm(timevary_parm_cnt+1)(env_data(y1,timevary_setup(7))-timevary_parm(timevary_parm_cnt))));

@k-doering-NOAA k-doering-NOAA added the bug Something isn't working; don't remove label after fixing label Mar 12, 2021
@Rick-Methot-NOAA
Copy link
Collaborator

change has been made; also for line 352.
Both occurrences are long lines of code, so I expect that when yz was updated to y1, only the first occurrence on the line got changed.

@k-doering-NOAA
Copy link
Contributor

@zandjyo Here is the ss executable to test: https://github.com/nmfs-stock-synthesis/stock-synthesis/actions/runs/647154096 . Just scroll down to the "artifacts" section and click on ss_win_exe . Could you see if that fixes the issue for you?

Note this exe has some newer changes since 3.30.16 and is experimental, so you may run into some other differences that are unrelated to the bug fix. Feel free to reach out if there is anything happening that doesn't make sense!

@zandjyo
Copy link
Author

zandjyo commented Mar 12, 2021 via email

@k-doering-NOAA k-doering-NOAA added this to the 3.30.17 release issues milestone Mar 12, 2021
@k-doering-NOAA k-doering-NOAA added the resolved issue resolved, look for "needs test" label label Mar 12, 2021
@k-doering-NOAA
Copy link
Contributor

Great -Thanks for reporting!

@k-doering-NOAA k-doering-NOAA removed the resolved issue resolved, look for "needs test" label label Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working; don't remove label after fixing
Projects
None yet
Development

No branches or pull requests

3 participants