diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-02-14 14:13:42 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-02-14 14:13:42 +0000 |
commit | 7144216342686b49e4f759c2fdd8de4946db8fdb (patch) | |
tree | 1fedc52bfdded273bae0fb9bb34c3e74a5f71ce3 /src/main.c | |
parent | 10ece6fb4017738589e4cad309b9d4091a2745a3 (diff) |
Trap further downstream if IPR fails
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@7 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,8 +58,8 @@ static gint main_method_window_response(GtkWidget *method_window, gint response, val = mrc_read(ctx); } - if ( ctx->rmode == RECONSTRUCTION_PREDICTION ) { - ipr_reduce(ctx); + if ( !val && (ctx->rmode == RECONSTRUCTION_PREDICTION) ) { + val = ipr_reduce(ctx); } if ( val == 0 ) { |