A minor correction to setting a parameter.
This commit is contained in:
parent
ecd8d08521
commit
89180c360d
@ -927,7 +927,7 @@ int HYPRE_LinSysCore::parameters(int numParams, char **params)
|
||||
{
|
||||
sscanf(params[i],"%s %d", param, &nsweeps);
|
||||
if ( nsweeps < 1 ) nsweeps = 1;
|
||||
for ( k = 0; k < 3; k++ ) amgNumSweeps_[k] = nsweeps;
|
||||
for ( k = 0; k < 4; k++ ) amgNumSweeps_[k] = nsweeps;
|
||||
if ( (HYOutputLevel_ & HYFEI_SPECIALMASK) >= 3 && mypid_ == 0 )
|
||||
printf(" HYPRE_LSC::parameters amgNumSweeps = %d\n",
|
||||
nsweeps);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user