From ad378103a5e545b4ba204a5d3159088f6963d379 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 26 Sep 2023 16:25:24 +0200 Subject: [PATCH] Fixed cast --- org/qmckl_jastrow_champ.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/qmckl_jastrow_champ.org b/org/qmckl_jastrow_champ.org index ef5045d1..f9722524 100644 --- a/org/qmckl_jastrow_champ.org +++ b/org/qmckl_jastrow_champ.org @@ -795,7 +795,7 @@ qmckl_set_jastrow_champ_c_vector(qmckl_context context, if (size_max < dim_c_vector*type_nucl_num) { char msg[256]; sprintf(msg, "Array too small. Expected dim_c_vector*type_nucl_num = %ld", (long) - dim_c_vector*type_nucl_num ); + (dim_c_vector*type_nucl_num) ); return qmckl_failwith( context, QMCKL_INVALID_ARG_3, "qmckl_set_jastrow_champ_c_vector",