if (m_max <= 0) {
int width = size();
int64_t max = 0;
- for (int i = 0; i < width; i++) {
+ for (int i = 0; i < width; ++i) {
if (m_correlationVector[i] > max) {
max = m_correlationVector[i];
}
int index = 0;
int width = size();
- for (int i = 0; i < width; i++) {
+ for (int i = 0; i < width; ++i) {
if (m_correlationVector[i] > max) {
max = m_correlationVector[i];
index = i;