diff options
author | Thomas White <taw@physics.org> | 2010-02-09 17:24:16 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-17 10:33:13 +0100 |
commit | 0f6ebe5649902dea9456c6598bc28e694c422336 (patch) | |
tree | 3ce031ca3c8ecf4fb132fa90aeae7373e0d5b0b6 /src/image.h | |
parent | 89bd4cc23c5ac40dd0060d362f663819a5f4ae22 (diff) |
Use OpenCL for much faster diffraction calculation
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.h b/src/image.h index 144ebe42..78194433 100644 --- a/src/image.h +++ b/src/image.h @@ -88,8 +88,8 @@ struct image { * If FORMULATION_PIXELSIZE, then pixel_size only is needed.*/ FormulationMode fmode; double pixel_size; - double camera_len; - double resolution; /* pixels per metre */ + float camera_len; + float resolution; /* pixels per metre */ /* Wavelength must always be given */ double lambda; /* Wavelength in m */ |