Skip to content

Commit

Permalink
Improve error handling for multi-component vectors - Minor fix
Browse files Browse the repository at this point in the history
See previous PR.
  • Loading branch information
victorapm committed Mar 14, 2023
1 parent 04d1991 commit 31e8cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parcsr_ls/par_amgdd_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ hypre_BoomerAMGDDSetup( void *amgdd_vdata,
HYPRE_Int request_counter;

/* Sanity check */
if (hypre_ParVectorNumVectors(f) > 1)
if (hypre_ParVectorNumVectors(b) > 1)
{
hypre_error_w_msg(HYPRE_ERROR_GENERIC, "BoomerAMGDD doesn't support multicomponent vectors");
return hypre_error_flag;
Expand Down

0 comments on commit 31e8cd6

Please sign in to comment.