X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/7a385d92335a4707d5b0aae66e4850d137c1fe7d..238fccf7dd50a69b5825f4544b3e247bfbf4e417:/o815/o815.cpp diff --git a/o815/o815.cpp b/o815/o815.cpp index 4c2b28d..ff0b1ae 100644 --- a/o815/o815.cpp +++ b/o815/o815.cpp @@ -125,6 +125,8 @@ void o815::mainLoop() { for (vector::iterator parait = paraQ->allParaIds.begin(); parait != paraQ->allParaIds.end(); ++parait) *out->log << *parait << "=" << (*paraQ)[*parait] << " "; *out->log << ">" << endl << flush; + + Sim->_newParas(); progress measProg(comargs.nmeas); @@ -239,7 +241,7 @@ o815::comoption* o815::getOptionByVal(int val) { for (vector::iterator opit = comOptions.begin(); opit != comOptions.end(); ++opit) if ( opit->val == val ) return &(*opit); - return NULL; + exit(1); } void o815::listArg(int *target, int tlen, char *listarg) {