Skip to content
Snippets Groups Projects
Commit 3fc4a33f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix #84

parent 5750b918
No related branches found
No related tags found
No related merge requests found
......@@ -1068,7 +1068,7 @@ int write_CGNS_zones(GModel &model, const int zoneDefinition, const int numZone,
const int numBoVert = zoneBoVec.size();
std::vector<int> iZBV(numBoVert);
for(int i = 0; i != numBoVert; ++i) iZBV[i] = i;
std::sort<int*, ZoneBoVecSort>(&iZBV[0], &iZBV[numBoVert],
std::sort<int*, ZoneBoVecSort>(&iZBV[0], &iZBV[numBoVert-1],
ZoneBoVecSort(zoneBoVec));
dBuffer.reserve(1024);
......
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