Open
Conversation
Collaborator
|
Thank you for proposing this fix - we are reviewing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Patch for
maxpolydegparamaterApologies for breaking the code. I intended to follow the comments regarding
maxpolydeg, but I didn’t realize that there was no expansion for the range array in the following code.To address this issue, I propose a patch that adds an additional check at the bottom to verify if the array is a list. This implementation allows users to create an array with varying degrees for each run.
For example if input is an integer:
Then the constructed maxpolydeg will be
If input is an array of degrees:
Then the constructed maxpolydeg will be
If no input is provided, the code will first construct a maximum degree for each run and then generate the
maxpolydegrange arrays accordingly.A review is still needed, but I believe this patch not only addresses the previous issue but also improves functionality by enabling users to input varying maximum polynomial degrees for each run.
Once again, I apologize for any inconvenience I may have caused.
Best.