Completely blind guess to fix compression score

This commit is contained in:
Diegoisawesome 2018-09-24 02:00:09 -05:00
parent 7ceabffc84
commit 98e1c1994b

View File

@ -836,7 +836,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index)
} }
else else
{ {
score += 2; score++;
} }
} }
@ -900,7 +900,7 @@ void Compress(std::vector<Event>& events)
return; return;
} }
if (CalculateCompressionScore(events, i) > 6) if (CalculateCompressionScore(events, i) >= 6)
{ {
CompressWholeNote(events, i); CompressWholeNote(events, i);
} }