Skip to content
Snippets Groups Projects
Commit 90dd7e4e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

corr after crash

parent d6dc5c73
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ public:
bool evaluated() const { return !limneeded || limgiven; }
uint size() const { return V.size(); };
bool contains( uint val ) const;
bool all_between( int imi, int ima ); // OBSOLETE
bool all_between( int imi, int ima );
string str() const;
friend ostream& operator<< ( ostream& s, CList L ) {
return s << L.str(); };
......
......@@ -131,9 +131,12 @@ namespace NOlm {
MyIterate::MyIterate( int mode )
{
if ( mode & IterALL )
Sel = CList(0,MOM.size()-1);
else
Sel = CList( 0,MOM.size()-1 );
else {
if ( !FSel.all_between( 0,MOM.size()-1 ) )
throw "invalid file selection";
Sel = FSel;
}
reset();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment