Skip to content

Conversation

@eduardfrigola
Copy link
Contributor

This pull request is for addressing the issue described on #6576.

This removes the usage of parameterIndex as does not keep track of the changes in names of ofParameters inside the group.

I have also used the already implemented methods to avoid code duplication. (used contains()or getPosition()).

Worried about performance with this change, I run the unitTest for parameter and found that the change in time is negligible. (About 300 microseconds for both current implementation and this branch).

I can edit the parameter test to show the fix if that is needed.

Eduard

…rGroup by name are done directly onto parameters vector.
@eduardfrigola
Copy link
Contributor Author

Better fix for the same bug: #6614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant