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

?

parent 294f306e
No related branches found
No related tags found
No related merge requests found
......@@ -821,6 +821,8 @@ void NEdif::ReadTab( bool multiblock, bool fromscript )
}
olf.VS.push_back(S);
}
if( !(olf.nScan()) )
throw string( "no input lines" );
NOlm::SelNew();
NOlm::OloAdd(&olf);
......
......@@ -397,6 +397,8 @@ void NOperate::IntXY(void)
fout.xco = xco;
fout.yco = yco;
S.Clear();
if( !(fin->nScan()) )
throw string( "input file has no scans" );
S.z = fin->VS[0].z;
S.z.pop_back();
for (uint j=0; j<fin->nScan(); j++) {
......
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