Mentions légales du service

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

Minor (comment + initialization)

parent e521be56
No related branches found
No related tags found
1 merge request!34Distributed generation of right hand sides
......@@ -24,8 +24,7 @@
* @param[in] spm
* The spm to gather.
*
* @return The array if triplets { n, nnz, nnzexp } for all nodes on root
* node(s), NULL otherwise.
* @return The array of triplets { n, nnz, nnzexp } for all nodes.
*/
static inline int *
spm_gather_init( const spmatrix_t *spm )
......@@ -48,8 +47,8 @@ spm_gather_init( const spmatrix_t *spm )
* @param[in] spm
* The spm to gather.
*
* @param[in] spm
* The spm to gather.
* @param[in] allcounts
* The array of triplets { n, nnz, nnzexp } for all nodes.
*/
static inline int
spm_gather_check( const spmatrix_t *spm,
......
......@@ -465,7 +465,7 @@ z_spmIJV2dense( const spmatrix_t *spm )
spm_complex64_t *
z_spm2dense( const spmatrix_t *spm )
{
spm_complex64_t *A;
spm_complex64_t *A = NULL;
if ( spm->loc2glob != NULL ) {
fprintf( stderr, "spm2dense: Conversion to dense matrix with distributed spm is not available\n");
......
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