diff --git a/Source/functions/solve/structure.cpp b/Source/functions/solve/structure.cpp index 9f2d3ed..7453793 100755 --- a/Source/functions/solve/structure.cpp +++ b/Source/functions/solve/structure.cpp @@ -207,6 +207,8 @@ float capLogElements(vector& log) if(log.back().PieceCollector[id].first < limit) break; } + cut(log,id);//for debugging + return 0;//for debugging int newid=0; //check if all over if(id==log.back().PieceCollector.size()) @@ -214,12 +216,6 @@ float capLogElements(vector& log) if(id>0) newid = --id; //set to the one just over limit - else//this only for test - cut(log,newid);//this only for test - - cut(log,++newid);//this only for test - return 1;//this only for test - while(id<(log.back().PieceCollector.size()-1)) //find maximum difference in function { if(!log.back().PieceCollector[id].first)