Description: maxeval must be > 0
Author: Thibaut Paumard <thibaut@debian.org>
Origin: vendor
Forwarded: yes
Last-Update: 2017-01-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/mira-demo.i
+++ b/test/mira-demo.i
@@ -65,7 +65,7 @@
 img0 = random(dim, dim);
 
 rdline, prompt="hit [Return] to start reconstruction";
-img1 = mira_solve(mh1, img0, maxeval=0, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e5, view=3, title="Reconstruction with phase closure");
+img1 = mira_solve(mh1, img0, maxeval=1, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e5, view=3, title="Reconstruction with phase closure");
 rdline, prompt="hit [Return] to continue reconstruction";
 img1 = mira_solve(mh1, img1, maxeval=100, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e5, view=3, title="Reconstruction with phase closure");
 img1 = mira_solve(mh1, img1, maxeval=100, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e4, view=3, title="Reconstruction with phase closure");
@@ -94,7 +94,7 @@
 ROTATE = 0;
 img0 = random(dim, dim)//(::-1,::-1);
 
-img4 = mira_solve(mh1, img0, maxeval=0, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e5, zap_phase=1, view=3, title="Reconstruction with no phase data");
+img4 = mira_solve(mh1, img0, maxeval=1, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e5, zap_phase=1, view=3, title="Reconstruction with no phase data");
 rdline, prompt="hit [Return] to start reconstruction";
 img4 = mira_solve(mh1, img0, maxeval=50, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=1e5, zap_phase=1, view=3, title="Reconstruction with no phase data");
 img4 = mira_solve(mh1, img4, maxeval=50, verb=1, xmin=0.0, normalization=1, regul=rgl, mu=5e4, zap_phase=1, view=3, title="Reconstruction with no phase data");
