Skip to content

Commit

Permalink
don't run solo calc on files with 1 interval, it crashes and who cares
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 18, 2020
1 parent 4173553 commit f830e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Etterna/Globals/SoloCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ SoloCalc(const std::vector<NoteInfo>& notes)

int rateCount = 21;

if (!notes.empty()) {
if (notes.size() > 1) {
for (int i = 7; i < rateCount; i++) {
auto tempVal = SoloCalc(notes, i / 10.f, 0.93f);
allrates.emplace_back(tempVal);
Expand Down

0 comments on commit f830e5e

Please sign in to comment.