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

Cleanup #627

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft

Cleanup #627

wants to merge 2 commits into from

Conversation

GPMueller
Copy link
Member

This is some tidying up:

  • improve naming and e.g. remove Hook_Pre_Iteration
  • add some more const here and there
  • use std::make_shared more

@GPMueller GPMueller force-pushed the feature-ci-linting branch 24 times, most recently from 4cba9a3 to 24c4cc3 Compare February 11, 2023 23:06
@GPMueller GPMueller marked this pull request as draft February 14, 2023 22:51
Base automatically changed from feature-ci-linting to develop February 16, 2023 21:19
@muellan muellan force-pushed the develop branch 2 times, most recently from 8681009 to 8702cb4 Compare June 7, 2023 15:14
@muellan muellan force-pushed the develop branch 7 times, most recently from 63fbd74 to 2edff73 Compare June 7, 2023 17:01
GPMueller added 2 commits June 8, 2023 19:32
 - remove all methods' pre-iteration hook
 - rename `Hook_Post_Iteration` to `Post_Iteration_Hook`
 - move `Method::Initialize` to `Method_Solver::Initialize_Solver`
 - moved initialization of `noi` and `nos` to `Method` constructor and
   moved the `Initialize_Solver` call to only occur in the `Method_s
 - replaced some throwing functions in `Method` with deleted (declared
   `= 0`), namely those which _have to_ be overridden anyways
 - improved some initializations
 - replaced some `new`s in `std::shared_ptr` constructors with
   `std::make_shared`
 - added `const` to some `auto &`s
 - more `const`ifying `auto &`s
 - replacing `push_back`s with `emplace_back`s
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #627 (cffe9f8) into develop (cffe9f8) will not change coverage.
The diff coverage is n/a.

❗ Current head cffe9f8 differs from pull request most recent head 49821a7. Consider uploading reports for the commit 49821a7 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #627   +/-   ##
========================================
  Coverage    48.64%   48.64%           
========================================
  Files           77       77           
  Lines        13041    13041           
========================================
  Hits          6344     6344           
  Misses        6697     6697           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant