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

Adds SmoothView #185

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Adds SmoothView #185

merged 4 commits into from
Oct 16, 2024

Conversation

ryanmrichard
Copy link
Member

Is this pull request associated with an issue(s)?
No

Description
Tensor objects return shapes via the common base class ShapeBase. If we want to access state specific to the Smooth class we need to convert from ShapeBase to a Smooth object. This is most effectively done by adding a SmoothView class that acts like a Smooth object. Derived classes can then choose how to "smooth" themselves out to make SmoothView objects.

TODOs

  • Tests and documentation.

@ryanmrichard ryanmrichard self-assigned this Oct 14, 2024
@ryanmrichard ryanmrichard marked this pull request as ready for review October 15, 2024 20:53
@ryanmrichard
Copy link
Member Author

That was fun 700+ line diversion. This should be r2g assuming it passes CI.

@ryanmrichard ryanmrichard merged commit 4d36c58 into master Oct 16, 2024
5 checks passed
@ryanmrichard ryanmrichard deleted the smooth_view branch October 16, 2024 15:16
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.

2 participants