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

Various simplifications in cppdlr/utils.hpp #14

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

Wentzell
Copy link
Member

Introducing a normsq function allows us to reduce a lot of syntactic noise in the utils.hpp file.
Also using std::swap and nda::deep_swap in a few places allows for further simplifications.

@jasonkaye jasonkaye merged commit e57828e into main Jan 30, 2025
2 checks passed
@jasonkaye jasonkaye deleted the PR_UTILS_SIMPL branch January 30, 2025 23:44
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