Skip to content

Commit

Permalink
try to make things less confusing but probably not really
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 21, 2020
1 parent 39bad44 commit 544a1ff
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2647,13 +2647,7 @@ Calc::WideRangeRollScaler(const vector<NoteInfo>& NoteInfo,

itv_arrayTWO.push_back(cur_vals);

// k lets try just running the pass with the rolls (lower
// mean indicates the rolls are flowing in that direction,
// for patterns that aren't rolls this should be
// functionally insignificant
cur_vals = mean(lr) < mean(rl) ? lr : rl;
int cv_taps = ltaps + rtaps;

itv_taps.push_back(interval_taps);
itv_cv_taps.push_back(cv_taps);
itv_single_taps.push_back(single_taps);
Expand All @@ -2673,7 +2667,11 @@ Calc::WideRangeRollScaler(const vector<NoteInfo>& NoteInfo,
// push current interval values into deque, there should
// always be space since we pop front at the start of the
// loop if there isn't
itv_array.push_back(cur_vals);
// k lets try just running the pass with the rolls (lower
// mean indicates the rolls are flowing in that direction,
// for patterns that aren't rolls this should be
// functionally insignificant
itv_array.push_back(mean(lr) < mean(rl) ? lr : rl);

// clear vectors before using them
window_vals.clear();
Expand Down

0 comments on commit 544a1ff

Please sign in to comment.