Skip to content
Snippets Groups Projects
Commit 9f38e34f authored by webmanue's avatar webmanue
Browse files

remove unnecessary std::fill

- element_axis is already zero initialized
parent 1d247e83
No related merge requests found
......@@ -30,7 +30,6 @@ template <class Element>
tensor::Tensor<double, Element::dimension()>
create_reference_element_axis() noexcept {
auto element_axis = tensor::Tensor<double, Element::dimension()>();
std::fill(element_axis.begin(), element_axis.end(), 0.);
element_axis[0] = 1.;
return element_axis;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment