Skip to content

remove comperr check rel. Nfleet#404

Merged
Rick-Methot-NOAA merged 1 commit intomainfrom
402-bug-partition-weighting-not-working-when-parmselect-nfleets
Feb 3, 2023
Merged

remove comperr check rel. Nfleet#404
Rick-Methot-NOAA merged 1 commit intomainfrom
402-bug-partition-weighting-not-working-when-parmselect-nfleets

Conversation

@Rick-Methot-NOAA
Copy link
Copy Markdown
Collaborator

This check on indexing for comperr is too prone to error and misinterpretation. It is unnecessary, so is removed from code.

resolves #402

Code now works with the Petrale example linked to the issue

What tests/review still need to be done? Who can do it, and by when is it needed (ideally)?

none

Has any new code been documented?

no need. code was removed

If not, please add documentation before submitting the Pull Request.

  • I have documented any new code added (or no new code was added)

is there an input change for users to Stock Synthesis?

  • Yes, there was an input change

If so, please provide an example of the new inputs needed.

[New example stock synthesis input goes here]

Check which is true. This PR requires:

  • no further changes to r4ss
  • no further changes to the manual
  • no further changes to SSI (the SS3 GUI)
  • no further changes to the stock synthesis change log (new features, bug reports)

Describe any changes in r4ss/SS3 manual/SSI that are needed (if not checked):

If changes are needed in the change log, please fill in the table here:

Additional information (optional):

This check on indexing for comperr is too prone to error and misinterpretation.  It is unnecessary, so is removed from code.
@Rick-Methot-NOAA Rick-Methot-NOAA added this to the 3.30.21 milestone Feb 2, 2023
@Rick-Methot-NOAA Rick-Methot-NOAA self-assigned this Feb 2, 2023
Copy link
Copy Markdown
Contributor

@iantaylor-NOAA iantaylor-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works for the petrale example as you said.
I'm not sure why my attempted fix didn't work as well, perhaps I got something wrong in the if else combination. Doesn't matter now.

@Rick-Methot-NOAA Rick-Methot-NOAA merged commit b03af6e into main Feb 3, 2023
@Rick-Methot-NOAA Rick-Methot-NOAA deleted the 402-bug-partition-weighting-not-working-when-parmselect-nfleets branch February 3, 2023 00:06
@Rick-Methot-NOAA Rick-Methot-NOAA restored the 402-bug-partition-weighting-not-working-when-parmselect-nfleets branch February 3, 2023 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: partition weighting not working when ParmSelect > Nfleets

2 participants