mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 04:44:03 +01:00
Completed tests for qmckl_error and added expression for rescaled distances. #15
This commit is contained in:
parent
e3a08947bd
commit
f416799623
@ -789,7 +789,7 @@ assert(test_qmckl_dist(context) == QMCKL_SUCCESS);
|
|||||||
pairs of points in two sets, one point within each set:
|
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
|
If the input array is normal (~'N'~), the xyz coordinates are in
|
||||||
|
@ -427,8 +427,8 @@ if (x < 0) {
|
|||||||
|
|
||||||
assert (qmckl_get_error(context, &exit_code, function_name, message) == QMCKL_SUCCESS);
|
assert (qmckl_get_error(context, &exit_code, function_name, message) == QMCKL_SUCCESS);
|
||||||
assert (exit_code == 1);
|
assert (exit_code == 1);
|
||||||
//assert (function_name == "qmckl_transpose");
|
assert (strcmp(function_name,"qmckl_transpose") == 0);
|
||||||
//assert (message == "Success");
|
assert (strcmp(message,"Success") == 0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user