Commit b9840fc4 authored by Antoine Lucas's avatar Antoine Lucas
Browse files

improve operator[]

parent 768a05e2
......@@ -105,8 +105,6 @@ std::vector<bool> extract_gmp_R::indice_set_at (unsigned int n , SEXP & IND)
{
vidx.erase(std::remove(vidx.begin(), vidx.end(), 0L), vidx.end()); // remove all zeroes
if(vidx.size() == 0){
//for (std::vector<bool>::iterator it = result.begin(); it != result.end(); ++it)
//*it = true;
return result;
}
......
Supports Markdown
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