aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-08-29 15:52:45 +0200
committerThomas White <taw@physics.org>2019-08-29 15:52:45 +0200
commitc0d70ec77ef264c478d2079b1cac6b9c2eba0797 (patch)
tree047890e98cffadddbf01e32e6eb96dc2ff780a62 /tests
parent091c82d85ac1ab9c4952c5647d52fee5f3073734 (diff)
prediction_gradient_check: Reduce bandwidth
Gradients are only correct for monochromatic radiation
Diffstat (limited to 'tests')
-rw-r--r--tests/prediction_gradient_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prediction_gradient_check.c b/tests/prediction_gradient_check.c
index 2e212083..d61b7a8a 100644
--- a/tests/prediction_gradient_check.c
+++ b/tests/prediction_gradient_check.c
@@ -416,7 +416,7 @@ int main(int argc, char *argv[])
image.lambda = ph_en_to_lambda(eV_to_J(8000.0));
image.div = 1e-3;
- image.bw = 0.01;
+ image.bw = 0.00001;
image.filename = malloc(256);
image.spectrum = spectrum_generate_gaussian(image.lambda, image.bw);