diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-03-06 18:34:54 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:17 +0100 |
commit | fb54afd078e600183e11caeb0713065b94e7968f (patch) | |
tree | 201b1f9f8318765362ee140399c1cd817d4fd1b7 /src/dw-hdfsee.c | |
parent | 806844b14db4e87114bc355d2debd9e8f8846c67 (diff) |
Add -b option to powder_plot, make hdf5_read() not use nominal energy
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r-- | src/dw-hdfsee.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 1a3f6b7b..abf81e8f 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -1245,7 +1245,7 @@ static gint displaywindow_newhdf(GtkMenuItem *item, struct newhdf *nh) if ( nh->dw->not_ready_yet ) return 0; hdfile_set_image(nh->dw->hdfile, nh->name); - hdf5_read(nh->dw->hdfile, nh->dw->image, 0, 0.0); + hdf5_read(nh->dw->hdfile, nh->dw->image, 0); /* Check that the geometry still fits */ if ( !geometry_fits(nh->dw->image, nh->dw->simple_geom) ) { @@ -1530,7 +1530,7 @@ DisplayWindow *displaywindow_open(const char *filename, const char *peaks, if ( !fail ) { dw->image = calloc(1, sizeof(struct image)); - hdf5_read(dw->hdfile, dw->image, 0, 0.0); + hdf5_read(dw->hdfile, dw->image, 0); } else { ERROR("Couldn't select path\n"); free(dw); |