mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-03 10:06:09 +01:00
Fixed cast
This commit is contained in:
parent
1dc1c0f192
commit
ad378103a5
@ -795,7 +795,7 @@ qmckl_set_jastrow_champ_c_vector(qmckl_context context,
|
|||||||
if (size_max < dim_c_vector*type_nucl_num) {
|
if (size_max < dim_c_vector*type_nucl_num) {
|
||||||
char msg[256];
|
char msg[256];
|
||||||
sprintf(msg, "Array too small. Expected dim_c_vector*type_nucl_num = %ld", (long)
|
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,
|
return qmckl_failwith( context,
|
||||||
QMCKL_INVALID_ARG_3,
|
QMCKL_INVALID_ARG_3,
|
||||||
"qmckl_set_jastrow_champ_c_vector",
|
"qmckl_set_jastrow_champ_c_vector",
|
||||||
|
Loading…
Reference in New Issue
Block a user