Skip to content

Commit

Permalink
fix bug created during typewise cutoff PR
Browse files Browse the repository at this point in the history
  • Loading branch information
brucefan1983 committed Jul 7, 2024
1 parent d2b2bda commit 62e8e8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/force/nep3.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/force/nep3_multigpu.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 62e8e8d

Please sign in to comment.