Skip to content
Snippets Groups Projects
Commit a2b22a7c authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

indexOrMinusOne

parent 126cb028
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ private:
SizeType minuses=0;
for (SizeType i=0;i<src.size();i++) {
ItemType item = src[i];
int x = PsimagLite::isInVector(dest,item);
int x = PsimagLite::indexOrMinusOne(dest,item);
if (x>=0) continue;
if (item.type==ItemType::DIAGONAL) zeros++;
if (item.type==ItemType::PLUS) pluses++;
......
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