Skip to content
Snippets Groups Projects
Commit f011212e authored by Antoine Lucas's avatar Antoine Lucas
Browse files

fix clang16 warnings

parent 84bab97a
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ namespace extract_gmp_R
// remove consecutive duplicates
it = std::unique(indJ.begin(),indJ.end());
//indJ.erase(it,indJ.end());
indJ.erase(it,indJ.end());
if ( indJ.back() > 0){
clearVec<T>(copyAdress);
......@@ -305,8 +305,8 @@ namespace extract_gmp_R
// we should have indI like -1 -3 -7 -7 -12 ...
// remove duplicates
std::unique(indI.begin(),indI.end());
//indI.erase(it,indI.end());
it= std::unique(indI.begin(),indI.end());
indI.erase(it,indI.end());
if ( indI.back() > 0){
clearVec<T>(copyAdress);
......
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