You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is hard to read because the lambda function seems to compute a value to initialize locally_owned_dofs, but really it also initializes another variable. Surely this can be done in a way that is easier to read :-)
(In fact, after #15966, we can directly initialize both variables because we use versions of the extract_* functions that return the index set, rather than set an argument passed by reference.)
The text was updated successfully, but these errors were encountered:
In looking at
dof_renumbering.cc
as part of #15966, I found this gem (in two places in the file):This is hard to read because the lambda function seems to compute a value to initialize
locally_owned_dofs
, but really it also initializes another variable. Surely this can be done in a way that is easier to read :-)(In fact, after #15966, we can directly initialize both variables because we use versions of the
extract_*
functions that return the index set, rather than set an argument passed by reference.)The text was updated successfully, but these errors were encountered: