craigsapp / humlib

Humdrum data parsing library in C++
http://humlib.humdrum.org
BSD 2-Clause "Simplified" License
31 stars 8 forks source link

HumGrid::matchVoices never does anything (part1 and part2 are pointing at the "current" part) #45

Open gregchapman-dev opened 3 years ago

gregchapman-dev commented 3 years ago

All it does with "last" is check it for NULL... I think this is copy/paste errors:

         int pcount1 = (int)current->size();
         int pcount2 = (int)current->size(); <-- should be last->size()

```...
    GridPart* part1 = current->at(i);
    GridPart* part2 = current->at(i); <--- should be last->at(i)