mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 12:23:56 +01:00
cast
This commit is contained in:
parent
89a4a57c32
commit
0ddaf0cd29
@ -460,8 +460,8 @@ int main(int argc, char** argv)
|
|||||||
gettimeofday(&timecheck, NULL);
|
gettimeofday(&timecheck, NULL);
|
||||||
after = (long)timecheck.tv_sec * 1000 + (long)timecheck.tv_usec / 1000;
|
after = (long)timecheck.tv_sec * 1000 + (long)timecheck.tv_usec / 1000;
|
||||||
|
|
||||||
printf("Number of MOs: %ld\n", mo_num);
|
printf("Number of MOs: %ld\n", (long) mo_num);
|
||||||
printf("Number of grid points: %ld\n", point_num);
|
printf("Number of grid points: %ld\n", (long) point_num);
|
||||||
printf("Execution time : %f seconds\n", (after - before)*1.e-3);
|
printf("Execution time : %f seconds\n", (after - before)*1.e-3);
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -3043,7 +3043,7 @@ printf("\n");
|
|||||||
assert (rc == QMCKL_SUCCESS);
|
assert (rc == QMCKL_SUCCESS);
|
||||||
|
|
||||||
rc = qmckl_get_mo_basis_mo_num(context, &mo_num);
|
rc = qmckl_get_mo_basis_mo_num(context, &mo_num);
|
||||||
printf(" mo_num: %ld\n", mo_num);
|
printf(" mo_num: %ld\n", (long) mo_num);
|
||||||
assert(mo_num == 2);
|
assert(mo_num == 2);
|
||||||
|
|
||||||
double mo_coefficient_new[mo_num][ao_num];
|
double mo_coefficient_new[mo_num][ao_num];
|
||||||
|
Loading…
Reference in New Issue
Block a user