1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-23 04:44:03 +01:00

Added elec date for en_pot. #41

This commit is contained in:
v1j4y 2021-10-13 18:26:45 +02:00
parent cff6b8a47a
commit 64b30dc10e

View File

@ -1199,7 +1199,7 @@ qmckl_exit_code qmckl_provide_en_potential(qmckl_context context)
if (!ctx->nucleus.provided) return QMCKL_NOT_PROVIDED; if (!ctx->nucleus.provided) return QMCKL_NOT_PROVIDED;
/* Compute if necessary */ /* Compute if necessary */
if (ctx->nucleus.coord_date > ctx->nucleus.en_pot_date) { if (ctx->electron.coord_new_date > ctx->nucleus.en_pot_date) {
/* Allocate array */ /* Allocate array */
if (ctx->nucleus.en_pot == NULL) { if (ctx->nucleus.en_pot == NULL) {