1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 20:36:01 +01:00

Completed tests for qmckl_error and added expression for rescaled distances. #15

This commit is contained in:
vijay gopal chilkuri 2021-05-26 09:36:38 +05:30
parent e3a08947bd
commit f416799623
2 changed files with 3 additions and 3 deletions

View File

@ -789,7 +789,7 @@ assert(test_qmckl_dist(context) == QMCKL_SUCCESS);
pairs of points in two sets, one point within each set:
\[
C_{ij} = TODO
R_{ij} = \left( 1 - \exp{-\kappa C_{ij}}\right)/\kappa
\]
If the input array is normal (~'N'~), the xyz coordinates are in

View File

@ -427,8 +427,8 @@ if (x < 0) {
assert (qmckl_get_error(context, &exit_code, function_name, message) == QMCKL_SUCCESS);
assert (exit_code == 1);
//assert (function_name == "qmckl_transpose");
//assert (message == "Success");
assert (strcmp(function_name,"qmckl_transpose") == 0);
assert (strcmp(message,"Success") == 0);
return 0;
}