Commit 1f1bd5fd by Christophe Geuzaine

fix warnings

parent fc459feb
Pipeline #350 passed with stage
in 10 minutes 17 seconds
......@@ -451,7 +451,7 @@ void MHexahedronN::reverse()
for (int i = 0; i < 8; ++i) {
_v[i] = oldv[indices[i]];
}
for (int i = 0; i < _vs.size(); ++i) {
for (unsigned int i = 0; i < _vs.size(); ++i) {
_vs[i] = oldv[indices[8+i]];
}
}
......@@ -590,8 +590,7 @@ void MPrismN::reverse()
for (int i = 0; i < 6; ++i) {
_v[i] = oldv[indices[i]];
}
for (int i = 0; i < _vs.size(); ++i) {
for (unsigned int i = 0; i < _vs.size(); ++i) {
_vs[i] = oldv[indices[6+i]];
}
}
......@@ -375,8 +375,7 @@ void MPyramidN::reverse()
for (int i = 0; i < 5; ++i) {
_v[i] = oldv[indices[i]];
}
for (int i = 0; i < _vs.size(); ++i) {
for (unsigned int i = 0; i < _vs.size(); ++i) {
_vs[i] = oldv[indices[5+i]];
}
}
......@@ -358,7 +358,7 @@ void MTetrahedronN::reverse()
for (int i = 0; i < 4; ++i) {
_v[i] = oldv[indices[i]];
}
for (int i = 0; i < _vs.size(); ++i) {
for (unsigned int i = 0; i < _vs.size(); ++i) {
_vs[i] = oldv[indices[4+i]];
}
}
\ No newline at end of file
}
......@@ -356,7 +356,7 @@ void MTriangleN::reorient(int rot, bool swap)
idx += 3*nbEdge;
if (_vs.size() > idx ) {
if (_vs.size() > idx) {
if (order == 3) tmp.push_back(_vs[idx]);
if (order == 4) {
if (swap) for(int i=0;i<3;i++) tmp.push_back(_vs[idx+(3+rot-i)%3]);
......
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