fixed a mistake
This commit is contained in:
parent
8d45e3e28f
commit
34d49e489a
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ public class JmhBenchmark {
|
|||
@Benchmark
|
||||
public int seq2DArrayGetLRTD(State state) {
|
||||
int t = 0;
|
||||
for (int r = 0; r < ROWS; r++) {
|
||||
for (int c = 0; c < COLS; c++) {
|
||||
for (int c = 0; c < COLS; c++) {
|
||||
for (int r = 0; r < ROWS; r++) {
|
||||
t += state.seqInt2DArray.get(r, c);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue