Skip to content

Something wrong or I misunderstand? #5

@xyz198903

Description

@xyz198903

for (int freq = LOWER_LIMIT; freq < UPPER_LIMIT - 1; freq++) {

Freq is inited to LOWER_LIMIT(40). Then, the index geted is 0 with the method
// Find out in which range
public int getIndex(int freq) {
int i = 0;
while (RANGE[i] < freq)
i++;
return i;
}
Just one point in section 0.

The reflection like:
0 : 40,
1 : 41-80,
2 : 81 - 120,
3 : 121 - 180,
4 : 181 - 300.
Is this a bug or I just misunderstand?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions