diff --git a/src/force/nep3.cu b/src/force/nep3.cu index 17afe79d2..f71cba1e1 100644 --- a/src/force/nep3.cu +++ b/src/force/nep3.cu @@ -194,8 +194,8 @@ NEP3::NEP3(const char* file_potential, const int num_atoms) paramb.use_typewise_cutoff_zbl = get_int_from_token(tokens[6], __FILE__, __LINE__); } #ifdef USE_TABLE - if (paramd.use_typewise_cutoff) { - PRINT_ERROR("Cannot use tabulated radial functions with typewise cutoff.") + if (paramb.use_typewise_cutoff) { + PRINT_INPUT_ERROR("Cannot use tabulated radial functions with typewise cutoff."); } #endif diff --git a/src/force/nep3_multigpu.cu b/src/force/nep3_multigpu.cu index aaa4eeafb..b3d54e9a1 100644 --- a/src/force/nep3_multigpu.cu +++ b/src/force/nep3_multigpu.cu @@ -196,8 +196,8 @@ NEP3_MULTIGPU::NEP3_MULTIGPU( paramb.use_typewise_cutoff_zbl = get_int_from_token(tokens[6], __FILE__, __LINE__); } #ifdef USE_TABLE - if (paramd.use_typewise_cutoff) { - PRINT_ERROR("Cannot use tabulated radial functions with typewise cutoff.") + if (paramb.use_typewise_cutoff) { + PRINT_INPUT_ERROR("Cannot use tabulated radial functions with typewise cutoff."); } #endif