-
Notifications
You must be signed in to change notification settings - Fork 177
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
Remove obsolete parameter enum typedefs #137
Comments
The other names are sooooo much longer... :/ |
That was kind-of the point of introducing them; to have descriptive names that allow more than one parameters type. It does not really matter that much for the indices enums. Since they must be regular enums (as discussed in the context of their introduction the enum values do not need be qualified. You can use use e.g. Depending on the decision in #151 we might consider shortening them a bit, e.g. to just enum BoundIndices { ... };
using BoundScalar = ...; However, that must happen before we start removing the obsoleted typedefs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This performs the following renames ``` BoundParametersIndices -> BoundIndices BoundParametersScalar -> BoundScalar eBoundParametersSize -> eBoundSize FreeParametersIndices -> FreeIndices FreeParametersScalar -> FreeScalar eFreeParametersSize -> eFreeSize ``` and replaces the following previously deprecated typedefs with the correct types ``` ParDef -> BoundIndices ParID_t -> BoundIndices ParValue_t -> BoundScalar ``` Fixes #137 and fixes #407.
Replace the usage of the following deprecated enum typefs
in favor of the specific underlying enums and remove them from the
ParameterDefinition.hpp
file.This is a larger change that needs to be split over multiple PRs.
The text was updated successfully, but these errors were encountered: