Commit 54f105c5 authored by Kristin's avatar Kristin
Browse files

Make change to jigsaw's exit status when bundle does not converge

parent 0cdb3974
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -109,6 +109,8 @@ void IsisMain() {
    if (ui.GetBoolean("UPDATE") ) {
      if ( !bundleAdjustment->isConverged() ) {
        gp += PvlKeyword("Status","Bundle did not converge, camera pointing NOT updated");
	QString msg = "Bundle did not converge within MAXITS [" + ui.GetString("MAXITS") + "] iterations [" + cnetFile +  "]";
	throw IException(IException::Unknown, msg, _FILEINFO_);
      }
      else {
        for (int i = 0; i < bundleAdjustment->numberOfImages(); i++) {