1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-13 08:45:36 +02:00
This commit is contained in:
Anthony Scemama 2022-11-16 22:16:14 +01:00
parent fab7df908b
commit a19b1804ad

View File

@ -6543,8 +6543,6 @@ qmckl_exit_code qmckl_get_jastrow_dim_c_vector(qmckl_context context, int64_t* c
return QMCKL_NULL_CONTEXT;
}
qmckl_exit_code rc;
qmckl_context_struct* const ctx = (qmckl_context_struct*) context;
assert (ctx != NULL);
@ -6759,7 +6757,7 @@ qmckl_exit_code qmckl_provide_tmp_c(qmckl_context context)
if (ctx->electron.walker.num > ctx->electron.walker_old.num) {
if (ctx->jastrow.tmp_c != NULL) {
qmckl_exit_code rc = qmckl_free(context, ctx->jastrow.tmp_c);
rc = qmckl_free(context, ctx->jastrow.tmp_c);
if (rc != QMCKL_SUCCESS) {
return qmckl_failwith( context, rc,
"qmckl_provide_tmp_c",