Mentions légales du service

Skip to content
Snippets Groups Projects
Commit be19cc46 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'fix-warning' into 'master'

Fix warning in core_zgesum

Closes #101

See merge request !261
parents f74d47f6 03822739
No related branches found
No related tags found
1 merge request!261Fix warning in core_zgesum
......@@ -28,7 +28,7 @@ CORE_zgesum_col( int M, int N,
CHAMELEON_Complex64_t *sum )
{
int i, j;
CHAMELEON_Complex64_t *ptr = A;
const CHAMELEON_Complex64_t *ptr = A;
for(j=0; j<N; j++) {
for(i=0; i<M; i++) {
sum[j] += *ptr;
......@@ -47,7 +47,7 @@ CORE_zgesum_row( int M, int N,
CHAMELEON_Complex64_t *sum )
{
int i, j;
CHAMELEON_Complex64_t *ptr = A;
const CHAMELEON_Complex64_t *ptr = A;
for(j=0; j<N; j++) {
for(i=0; i<M; i++) {
sum[i] += *ptr;
......@@ -66,7 +66,7 @@ CORE_zgesum_elt( int M, int N,
CHAMELEON_Complex64_t *sum )
{
int i, j;
CHAMELEON_Complex64_t *ptr = A;
const CHAMELEON_Complex64_t *ptr = A;
for(j=0; j<N; j++) {
for(i=0; i<M; i++) {
sum[0] += *ptr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment