aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-07-30 14:08:24 +0200
committerThomas White <taw@physics.org>2019-07-30 14:56:25 +0200
commit799fdb308d5ca562793ca24fd11c364076f98685 (patch)
tree40003d1ba0382df256e28596e8920ad3860dec22 /tests
parent82719e4d6fec3c28bcdc310ba382e12aa4f041d4 (diff)
Spectrum: Define Gaussian using area, not height
Diffstat (limited to 'tests')
-rw-r--r--tests/spectrum_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spectrum_check.c b/tests/spectrum_check.c
index 5ee85dcc..b5092199 100644
--- a/tests/spectrum_check.c
+++ b/tests/spectrum_check.c
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
s = spectrum_new();
gauss.kcen = ph_eV_to_k(9000);
gauss.sigma = ph_eV_to_k(100);
- gauss.height = 1.0;
+ gauss.area = 1.0;
spectrum_set_gaussians(s, &gauss, 1);
r += check_integral(s, 100);
spectrum_free(s);