Commit 835db7f1 authored by Heinrich Schindler's avatar Heinrich Schindler
Browse files

Fix -wshadow warning.

parent b5a0e6a9
......@@ -470,10 +470,10 @@ void ComponentParallelPlate::constructGeometryFunction(const int N) {
m_wMatrix.push_back(wHold);
// reset
std::for_each(cHold.begin(), cHold.end(), [](double &n) { n = 1; });
std::for_each(vHold.begin(), vHold.end(), [](double &n) { n = 0; });
std::for_each(gHold.begin(), gHold.end(), [](double &n) { n = 1; });
std::for_each(wHold.begin(), wHold.end(), [](double &n) { n = 0; });
std::fill(cHold.begin(), cHold.end(), 1);
std::fill(vHold.begin(), vHold.end(), 0);
std::fill(gHold.begin(), gHold.end(), 1);
std::fill(wHold.begin(), wHold.end(), 0);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment