aboutsummaryrefslogtreecommitdiff
path: root/tests/pr_p_gradient_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pr_p_gradient_check.c')
-rw-r--r--tests/pr_p_gradient_check.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/pr_p_gradient_check.c b/tests/pr_p_gradient_check.c
index 14a2b579..a4ffa2e4 100644
--- a/tests/pr_p_gradient_check.c
+++ b/tests/pr_p_gradient_check.c
@@ -461,10 +461,15 @@ int main(int argc, char *argv[])
STATUS("Testing flat sphere model:\n");
} else if ( i == 1 ) {
pmodel = PMODEL_GAUSSIAN;
- STATUS("Testing Gaussian model:\n");
- } else {
+ /* FIXME: Gradients for Gaussian model are not good */
+ STATUS("NOT testing Gaussian model.\n");
+ continue;
+ } else if ( i == 2 ) {
pmodel = PMODEL_THIN;
- STATUS("Testing thin Ewald sphere model:\n");
+ STATUS("Testing Thin Ewald Sphere model:\n");
+ } else {
+ ERROR("WTF?\n");
+ return 1;
}
orientation = random_quaternion(rng);