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

WarpX class: simplify return type of get_spectral_solver_fp using auto& #5656

Conversation

lucafedeli88
Copy link
Member

This PR simplifies the return type of a method of the WarpX class by replacing:

#   ifdef WARPX_DIM_RZ
        SpectralSolverRZ&
#   else
        SpectralSolver&
#   endif

with

auto&

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Feb 11, 2025
@RemiLehe RemiLehe merged commit 7e339a0 into ECP-WarpX:development Feb 14, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants