aboutsummaryrefslogtreecommitdiff
path: root/src/cubeit.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-25 18:40:56 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:21 +0100
commit0de53f22863af2bb3c8db3d1cf5e015f0a9b9f87 (patch)
treefa8c690542f8de0932183c89c43d6aba8f096f8a /src/cubeit.c
parentdad9cc7fe622e2b55f5294892d9c95a0c580b3be (diff)
render_hkl: Multiple improvements
Diffstat (limited to 'src/cubeit.c')
-rw-r--r--src/cubeit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeit.c b/src/cubeit.c
index 33442ac3..51f4a57c 100644
--- a/src/cubeit.c
+++ b/src/cubeit.c
@@ -361,8 +361,8 @@ static void write_slice(const char *filename, double *vals, int z,
for ( y=0; y<h; y++ ) {
for ( x=0; x<w; x++ ) {
- float r, g, b;
- float val;
+ double r, g, b;
+ double val;
val = vals[xs*ys*z + xs*y + x];