Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
las3_pub
/
predictable_parallel_patterns
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4c6e770f
authored
5 years ago
by
FritzFlorian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: matrix benchmark uses wrong size parameters.
parent
57cb26a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
extern/benchmark_base/include/benchmark_base/matrix.h
+2
-2
No files found.
extern/benchmark_base/include/benchmark_base/matrix.h
View file @
4c6e770f
...
...
@@ -20,8 +20,8 @@ class matrix {
T
data
[
SIZE
][
SIZE
];
explicit
matrix
()
{
for
(
int
i
=
0
;
i
<
MATRIX_
SIZE
;
i
++
)
{
for
(
int
j
=
0
;
j
<
MATRIX_
SIZE
;
j
++
)
{
for
(
int
i
=
0
;
i
<
SIZE
;
i
++
)
{
for
(
int
j
=
0
;
j
<
SIZE
;
j
++
)
{
data
[
i
][
j
]
=
i
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment