Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress message about MgSetup2KappaMu if it does not differ from current mu #611

Merged
merged 1 commit into from
Mar 17, 2024
Merged
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 quda_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ void _updateQudaMultigridPreconditioner(){

// if we have set an explicit mu value for the generation of our MG setup,
// we would like to use it here
if( fabs(quda_input.mg_setup_2kappamu) > 2*DBL_EPSILON ){
if( fabs( fabs(quda_input.mg_setup_2kappamu/2.0/g_kappa) - fabs(quda_mg_param.invert_param->mu) ) > 2*DBL_EPSILON ){
double save_mu = quda_mg_param.invert_param->mu;
// note the minus sign
quda_mg_param.invert_param->mu = -quda_input.mg_setup_2kappamu/2.0/g_kappa;
Expand Down
Loading