Skip to content

[LinAlg] Remove create_vector() function and replace with constructor call #1340

@maxfirmbach

Description

@maxfirmbach

In 4C the function std::shared_ptr<Core::LinAlg::Vector<double>> Core::LinAlg::create_vector(...) is used in many places, but is just a call to the Core::LinAlg::Vector constructor itself. I propose to remove the function and just call the constructor directly in each of these places.

  • Replace calls to Core::LinAlg::create_vector() with Core::LinAlg::Vector()
  • Remove the function Core::LinAlg::create_vector()

Metadata

Metadata

Assignees

Labels

status: readyIssues that are well-prepared with detailed description ready to be processedtype: clean codeClean coding and good programming practices

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions