Improve error handling for multi-component vectors - Minor fix
See previous PR.
This commit is contained in:
		
							parent
							
								
									04d1991625
								
							
						
					
					
						commit
						31e8cd64f6
					
				| @ -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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Victor A. Paludetto Magri
						Victor A. Paludetto Magri