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

[ENH] Add LevelProperty public attribute to all the levels #22

Merged
merged 9 commits into from
Jun 6, 2023

Conversation

adam2392
Copy link
Contributor

@adam2392 adam2392 commented May 31, 2023

Towards: #19

Adds LevelProperty() constexpr function to allow each class access to the levelproperties during compile time, without explicitly writing the class type.

test/source/dense_test.cpp Outdated Show resolved Hide resolved
Copy link
Contributor Author

@adam2392 adam2392 left a comment

Choose a reason for hiding this comment

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

I added unit-tests to check for these properties, and also added a BaseCase test where possible

Copy link
Contributor Author

@adam2392 adam2392 left a comment

Choose a reason for hiding this comment

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

I'll clean up the commented code in the unit-tests once you both have a chance to review the code

Signed-off-by: Adam Li <[email protected]>
@adam2392
Copy link
Contributor Author

adam2392 commented Jun 2, 2023

If this is good design, then I can revisit the PR on co iteration.

Signed-off-by: Adam Li <[email protected]>
@hameerabbasi
Copy link
Owner

hameerabbasi commented Jun 6, 2023

@bharath2438 Could you give this a shallow review? I'll merge on your approval.

Copy link
Collaborator

@bharath2438 bharath2438 left a comment

Choose a reason for hiding this comment

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

Yes, these look good.

@hameerabbasi hameerabbasi merged commit 9f47a2c into hameerabbasi:main Jun 6, 2023
@adam2392 adam2392 deleted the levelprops branch June 6, 2023 13:36
@hameerabbasi
Copy link
Owner

Merging, thanks for the fixes, @adam2392!

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.

3 participants