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

identical if branches in BaseStateGeometrycpp #354

Closed
zingale opened this issue Feb 11, 2023 · 1 comment
Closed

identical if branches in BaseStateGeometrycpp #354

zingale opened this issue Feb 11, 2023 · 1 comment

Comments

@zingale
Copy link
Member

zingale commented Feb 11, 2023

what's the purpose of this if test if it always does the same thing?

 301     // set the burning cutoff coordinate on the coarser levels                                                                                                                                   
 302     for (auto n = which_lev - 1; n >= 0; --n) {                                                                                                                                                  
 303         if (burning_cutoff_density_hi_coord(n + 1) % 2 == 0) {                                                                                                                                   
 304             burning_cutoff_density_hi_coord(n) = 0;                                                                                                                                              
 305         } else {                                                                                                                                                                                 
 306             burning_cutoff_density_hi_coord(n) = 0;                                                                                                                                              
 307         }                                                                                                                                                                                        
 308     } ```
@zingale
Copy link
Member Author

zingale commented Apr 11, 2024

these were cleaned up in #419

@zingale zingale closed this as completed Apr 11, 2024
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

No branches or pull requests

1 participant