Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
toxa81 committed Dec 21, 2024
1 parent 99d9312 commit b9e84c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/sirius_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6421,7 +6421,7 @@ sirius_generate_d_operator_matrix(void* const* gs_handler__, int* error_code__)
call_sirius(
[&]() {
auto& gs = get_gs(gs_handler__);
gs.potential().generate_D_operator_matrix();
gs.potential().generate_d_mtrx();
},
error_code__);
}
Expand Down
2 changes: 1 addition & 1 deletion src/potential/potential.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ Potential::generate(Density const& density__, bool use_symmetry__, bool transfor
}

if (!ctx_.full_potential()) {
generate_D_operator_matrix();
generate_d_mtrx();
generate_PAW_effective_potential(density__);
if (ctx_.verbosity() >= 3) {
rte::ostream out(ctx_.out(), "potential");
Expand Down

0 comments on commit b9e84c1

Please sign in to comment.