Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/parcsr_mv/communicationT.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ hypre_MatTCommPkgCreate_core (
}
}
*/
for ( kc = row_starts[my_id]; kc < row_starts[my_id + 1]; kc++ )
for ( kc = row_starts[0]; kc < row_starts[1]; kc++ )
{
if ( kc == col && i != my_id )
{
Expand Down
7 changes: 1 addition & 6 deletions src/parcsr_mv/par_csr_aat.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,6 @@ hypre_ParCSRAAt(hypre_ParCSRMatrix *A)
n_rows_A = hypre_ParCSRMatrixGlobalNumRows(A);
n_cols_A = hypre_ParCSRMatrixGlobalNumCols(A);

if (n_cols_A != n_rows_A)
{
hypre_error_w_msg(HYPRE_ERROR_GENERIC, " Error! Incompatible matrix dimensions!\n");
return NULL;
}
/*-----------------------------------------------------------------------
* Extract A_ext, i.e. portion of A that is stored on neighbor procs
* and needed locally for A^T in the matrix matrix product A*A^T
Expand All @@ -405,7 +400,7 @@ hypre_ParCSRAAt(hypre_ParCSRMatrix *A)
* If there exists no CommPkg for A, a CommPkg is generated using
* equally load balanced partitionings
*--------------------------------------------------------------------*/
if (!hypre_ParCSRMatrixCommPkg(A))
if (!hypre_ParCSRMatrixCommPkgT(A))
{
hypre_MatTCommPkgCreate(A);
}
Expand Down