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:
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:
|
||||
|
||||
\[
|
||||
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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user